11-16-2016 09:53 AM
I have run a macro and I get this error...'Failed to transcode data from U_UTF8_CE to U_LATIN9_CE' I am running Enterprise Guide 7.4.
What I found strange is I run the same code last week and didn't get any error.
Your help would be much appreciated.
11-16-2016 11:20 AM
Language encoding is data content. If you have a new or updated data source that would be the most likely source of this error.
11-17-2016 01:55 AM
Thank you all for your response...So how can change sas session's encoding into UTF-8?
11-17-2016 04:50 AM
First find out the SAS root directory: %let path=%sysfunc(pathname(SASROOT)); %put &path ; Then open SASV9.CFG under SAS root directory, change the following: -CONFIG "C:\Program Files\SAS\SASFoundation\9.4\nls\zh\SASV9.CFG" into -CONFIG "C:\Program Files\SAS\SASFoundation\9.4\nls\u8\SASV9.CFG"
01-06-2017 04:13 PM
If you change your SAS session encoding to UTF-8, SAS should be able to support the characters. However, some SAS string functions may ned to be changed to the K function equivalent. Many of the string functions, such as INDEX, SUBSTR, and LENGTH, are byte-oriented. The National Lanugage Support Reference Guide has a table documentin the I18N compatibility of each SAS function that handles character data.
It would be best to know what actually caused the transcoding error to occur. Do you have any output you can share?