Data extracted from Teradata using SAS which contains Thailand traditional characters for customer name and displayed as ??.
But when the same data is pulled directly using TD SQL Assistant. I am getting Thailand characters, where I changed the font to UTF8.
How do I fix this issue of Thailand character display in SAS. I tried using encoding=utf8, but thats not working.
Please help me on this.
Thanks
I am not sure of my answer. Try it yourself. Apply the below option, see if it works.
option LOCALE=th_TH;
I tried with locale=th_TH option. But it is not working.
Thanks.
Try:
encoding=utf-8
That is because the encoding of Teradata is different with your SAS encoding. modify the file sasenv_local (is under the fold of SAS) , add the correct(Teradata) encoding in it . and restart SAS .
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.