Firstly I want to tell you that this is not a question. I am writing the solution for this query.
When I run the below code in SAS Enterprise Guide, then the log show "ENCODING=WLATIN1". See: Below Image
proc options option=encoding;
run;
Now, to change the Encoding from WLATIN1 to UTF-8, We have to change in the configuration file.
See: Below Image (Expected Result)
To get this result follow the steps:
1. Go to the link: C:\Program Files\SASHome_foundation\SASFoundation\9.4\nls
There should be a configuration file sasv9.cfg in both "en" and "u8" folders.
2. There is a file sasv9.cfg on the location: C:\Program Files\SASHome_foundation\SASFoundation\9.4
Open it in notepad. Here you will find the config;
-config "C:\Program Files\SASHome_foundation\SASFoundation\9.4\nls\en\sasv9.cfg"
3. Make a small change in it. Just replace "en" with "u8" and Save.
-config "C:\Program Files\SASHome_foundation\SASFoundation\9.4\nls\u8\sasv9.cfg"
4. Open a new session of SAS Enterprise Guide and run the below code again.
proc options option=encoding;
run;
5. Now the Encoding of your system will change from WLATIN1 to UTF - 8.
Hi @mrityunjaya,
Thanks for posting! I think this would be great information to put into an article on the Community. If you've not contributed to the library before, I'd be happy to assist in getting you started. Just let me know.
Thanks,
Joe
Join us for SAS Community Trivia
SAS Bowl XLIII, The New SAS Developer Portal
Wednesday, August 14, 2024, at 10 a.m. ET | #SASBowl
Hi @joeFurbee
Thanks for your reply. But the Article Option is not enable yet on my profile.
I have written a mail to sas community to enable it.
I will definitely write the Article on it and add some new points also.
Hi @mrityunjaya,
I'm on the team with @joeFurbee. I have given you article writing permission now, so feel free to go ahead and enter your article. One of us can delete your post when you get the article ready.
Thanks for your contributions.
Best,
Shelley
Hi @ShelleySessoms / @joeFurbee
If this post is removed in time, please be aware that @mrityunjaya did link to this post in:
So perhaps a link to the new article (or a redirect) could be placed in the above link at the appropriate time. Not sure if there are any other links to this post.
Thanks & regards,
Amir.
Thank you, @Amir. I have changed the link in that post to point to his article, not post. I appreciate you letting us know about it.
Best,
Shelley
Thanks for your support to give me permission to write an Article.
I have published the article. The link is
If your Enterprise Guide connects to a server, you won't have the SASFoundation directory on your PC. Your SAS administrator can provide you with a server running with the wanted encoding.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.