BookmarkSubscribeRSS Feed
iSAS
Quartz | Level 8

I'm getting a special character when creating a dataset from SQL server. Instead of a multi-lined description, it's having an output of "š" symbol.

 

How to translate this appropriately from the source? I can use the compress function but by using it I am removing that character instead of translating it properly.

 

Hoping you could help me guys.

 

Example Data from Source:

First Paragraph

Second Paragraph

 

Output:

First Paragraph š

Second Paragraph š

4 REPLIES 4
andreas_lds
Jade | Level 19

Could be a problem cause by mismatching encoding. Please verify that sas-session and database use the same encoding.

iSAS
Quartz | Level 8
Thank you for the response. How to check the encoding settings in SAS?
ChrisNZ
Tourmaline | Level 20
ChrisNZ
Tourmaline | Level 20

How to translate this appropriately from the source? I can use the compress function but by using it I am removing that character instead of translating it properly.

 

Maybe use translate function ?

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
  • 629 views
  • 0 likes
  • 3 in conversation