Hello,
I am trying to read a csv file which contains strange characters like below:
Pas encore inscrit mais j'espère si tôt.
j'espère should be j'espère
si tôt. should be si tôt.
Is there a way to change that when the file is unzip (see the Unix command below)
x %sysfunc(quote(unzip -jo /.../report.zip -d /.../report)));
Is it possible to use an encoding option while reading the decompressed file or does the tranwrd function is the only option?
How was the CSV created in the first place? Is "Pas encore inscrit mais j'espère si tôt" exactly what you see in the CSV if you open it in a text editor that doesn't change the contents? Try opening it with Notepad++ which report on the file encoding and can do encoding conversions.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: