BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Tom
Super User Tom
Super User

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.

RLC07
Fluorite | Level 6

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! 

SASKiwi
PROC Star

@RLC07  - Please don't forget to mark your post as answered as this will help others to find this very useful discussion.

RLC07
Fluorite | Level 6

@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'? 

SASKiwi
PROC Star

@RLC07  - You can only mark one response as the answer so it is up to you to choose the one that is most acceptable.

RLC07
Fluorite | Level 6

@SASKiwi Bummer. This problem was solved because I took pieces of everyone's post in revising my codes, and it was @Tom 's suggestion that ultimately allowed me to read in this set of characters properly. In this case, please let me know if I can somehow re-mark the response. 

FreelanceReinh
Jade | Level 19

@RLC07 wrote:

(...) please let me know if I can somehow re-mark the response. 


Hi @RLC07,

Quite easy: Select a different post as the solution after clicking "Not the Solution" in the option menu (see icon below) of the current solution.
show_option_menu.png

RLC07
Fluorite | Level 6

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. 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 22 replies
  • 9363 views
  • 3 likes
  • 6 in conversation