There is not any simple way to tell the encoding of a text file. https://stackoverflow.com/questions/4255305/how-to-determine-encoding-table-of-a-text-file
Make sure whoever sends you a file tells you want encoding they are using. Or ask them to always use UTF-8.
It wouldn't surprise me if I will have to read in other raw files with non-English characters in the near future, so good to know and thanks for the reference!
@RLC07 - Please don't forget to mark your post as answered as this will help others to find this very useful discussion.
@SASKiwi Will do - thanks for the reminder! Is there a way I can mark more than 1 as acceptable solution? And if not, make changes to ensure I mark the most appropriate one as 'acceptable solution'?
@RLC07 - You can only mark one response as the answer so it is up to you to choose the one that is most acceptable.
Hi @FreelanceReinh, Thank you! Now that I know I can only select one 'accepted solution', I'll mark the most appropriate one for this question.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.