BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
SASdevAnneMarie
Barite | Level 11

Hello Experts,

 

I would like to export the file with UTF-8 encoding, but the result is UTF-8-BOOM :

Could you tell me please how to make UTF-8 encoding and delimeter ";" ?


filename output3 '\\lXXXX\D_PS.csv' encoding="utf-8";

proc export data=D_PS  outfile=output3 dbms=csv;
run;

Thank you for your help !

1 ACCEPTED SOLUTION

Accepted Solutions
japelin
Rhodochrosite | Level 12

Why not use the nobom option?

 

filename output3 '\\lXXXX\D_PS.csv' encoding="utf-8" nobom;

 

 

View solution in original post

4 REPLIES 4
Ksharp
Super User

Open your Unicode SAS and export it .

 

proc export data=sashelp.class outfile='c:\temp\temp.csv' dbms=csv replace;
delimiter=';';
run;

Ksharp_0-1638793924779.png

 

SASdevAnneMarie
Barite | Level 11
Thank you, Ksharp!
What do you mean please by “Open your Unicode SAS”?
japelin
Rhodochrosite | Level 12

Why not use the nobom option?

 

filename output3 '\\lXXXX\D_PS.csv' encoding="utf-8" nobom;

 

 

SASdevAnneMarie
Barite | Level 11
Thank you ! That works !

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1546 views
  • 5 likes
  • 3 in conversation