BookmarkSubscribeRSS Feed
igjarjuk
Calcite | Level 5

Hello,

 

I have created a SAS dataset with a value that contains a UTF8 encoded string.  How can I verify that the data has come across correctly?  I have tried to open the SAS dataset in the

SAS Universal Viewer

Release 9.4 - SEP 2014

 

but it only renders the squares that indicate the character is missing in the current font.

 

I am using the Universal Viewer because our licensed version on linux does not display unicode. All I can see is the strange garbled sequence of accented A's and such.

 

If there is no way to visually inspect that the unicode data is correctly encoded is there any procedure you would recommend to validate the data has come across correctly?

 

Thanks,

sJared

2 REPLIES 2
Tom
Super User Tom
Super User

Make sure that you are running SAS with Unicode support.  Your admin might need to make a new command for you to use that points at the proper configuration file.

 

Even with that I suspect that your issue is with Display Manager on Unix.

You could instead use SAS/Studio and it would allow you to open a dataset in a pseudo interactive mode with Unicode support.

 

Or  just use ODS HTML (or PDF) and print the data and then open the report.

igjarjuk
Calcite | Level 5

Sorry, I should have been a little clearer.  I used the SAS Universal view on Windows because I know unix windowing isn't the best for supporting unicode.  Is that also expected not to work?

 

When you say SAS with Unicode support you mean the executable thats named sas_u8 right?

 

Would the ODS output also be dependent on creating it from a SAS with Unicode support session?

 

Can you give an example procedure that should ensure a utf8 compatible font is used for PDF output? I think this would be sufficient for my validation purposes.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 2 replies
  • 530 views
  • 0 likes
  • 2 in conversation