If you save your Excel file as Unicode text, you should also use unicode to read it into SAS:
Filename Textfile '<path>' ENCODING='UTF16B';
data want;
infile textfile;
input....
But I do not quite understand that only some characters get converted to two bytes - according to the SAS documentation, the UTF-16 encodings store all characters as two bytes. Are you quite sure that you are not using UTF-8?
FWIW I didn't find a UTF-16 save as option in my Excel 365, only UTF-8 and UTF-BigEndian
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: