BookmarkSubscribeRSS Feed
SasStatistics
Pyrite | Level 9

Looking at some old files, the text (comments) appear very weird, I do not know why this happend or if it is possible to "get back" the original text? 

Example on how it looks like: 

 

SasStatistics_2-1625047468553.png

 

The letters involved are of the form: Å, Ä, Ö  (Swedish). 


4 REPLIES 4
andreas_lds
Jade | Level 19

Could be an encoding problem. So:

  • Which tool created the files?
  • Which tool is used right now?

I had a similar problem: code file created by SAS EG using "unicode" when saving the program. When i opened the file with SAS Studio (set to utf-8) everything was ok, but after saving EG doesn't recognise the encoding properly. Reason: SAS Studio removes the bom (byte order mark) that EG relies on.

SasStatistics
Pyrite | Level 9
To my knowledge it is manually typed in SAS EG. SAS EG is used right now aswell.

Any possible repairs?
andreas_lds
Jade | Level 19

If the file has been corrupted, that the only way to repair it is replacing the "bad" chars manually. Maybe SAS-Tech-Support has an idea, i would contact them .

ballardw
Super User

What FONT is your Editor currently using?

Character values, if ASCII, do not have standard appearance for numeric values above 126 between fonts designed by different folks.

 

Ready to join fellow brilliant minds for the SAS Hackathon?

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!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 486 views
  • 2 likes
  • 3 in conversation