Hi, I'm loading data from MySQL (utf-8), then making some transformations in DI 4.9 and after that I'm trying to insert the result in Postgres (utf-8).
The problem is with some spanish characters (á, ñ, Ñ, etc.). If I try to insert directly, it shows an error. So I'm using this: putc(char_field, "$UTF8XE250.").
This function solves the error, but some characters are not properly managed: for example, I can't see the "Ñ" character in Postgres table (it shows some weird stuff).
So, what should I do? Maybe some other mask with putc()? Maybe trying to keep all "internal" tables working with utf-8 (since source and destination uses that encoding)?
Please help!
Regards
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.