SAS® Studio is a programming environment that can run new and existing SAS® programs, read files from many data sources, and much more. When SAS programs, files, or data sets contain national characters, you might see truncated string, odd characters, or transcoding errors. In this 10-minute SAS Global Forum super demo, I show some common issues that occur when national characters are present and introduces you to tools and tips to help you achieve success.
00:18 - How to manage unexpected characters
01:48 - An example
03:32 - Two possible solutions
06:20 - Specify encoding with Open Dialog
07:27 - Two functions that can help: KPROPDATA and BASECHAR
A transcoding story (or, How Oliver S. Füßling lost his last name and comes to find it again) (blog post)
Demystifying and resolving common transcoding problems (blog post)
SAS National Language Support (NLS): Reference Guide (SAS documentation)
Thanks for this video, I'll read the aforementioned papers. Basechar() and Kpropdata() functions are especially useful with SAS SPRE sessions on Viya when dealing with extended (European here) Charsets.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.