BookmarkSubscribeRSS Feed
BreakingQuant
Calcite | Level 5

I have an excel file which contains lower case sigmas as column headers.  Removing the sigmas will successfully read in the file.  Is there a way to keep the sigmas?  The error message notes:  "Failed to transcode data from utf-16le to wlatin1 encoding because it contained characters which are not supported by your SAS session encoding."

 

I am using Enterprise Guide 7.1.

2 REPLIES 2
Tom
Super User Tom
Super User

The first thing to do is to switch the SAS server that your version of Enterprise Guide connects to one that is using unicode support.  Then SAS will not need to try to transcode into WLATIN1 character set.

 

It still might not work since I don't know if you can really use such strange characters for variable names.  It is best to keep your variable names as normal SAS names.  Maximum of 32 characters, Starts with underscore or letter (A to Z), only contains letters(A to Z), digits (0 to 9) or underscore.

 

Kurt_Bremser
Super User

Since it causes lots of extra work typing in those non-standard names, you should change the columns names to standard SAS rules (see @Tom's post). If you want to keep the reference, put the original column names in SAS variable labels. You will still need to switch to unicode SAS for this, though.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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