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 !

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 1301 views
  • 5 likes
  • 3 in conversation