Hello,
I need to change &sysencoding from 'wlatin1' to 'UTF-8' so that sas will keep Japanese characters 'as is ' and not change to question marks (ie ???)
Caveat : I only want to do it for one program not the entire system.
Can anyone help me out with the code to accomplish this?
thanks!
Have you tried the inencoding= and outencoding= libname options?
How are you currently running your SAS programs?
If you are created .sas files and running them from the command line then add the -encoding option to the command line.
Or better still create two different commands that you use to run SAS. One to use WLATIN1 and another to use UTF-8. For example on our systems we have both a sas94 and a sas94_u8 command.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.