Q: I've enjoyed your many articles about working with the IFS in RPG. However, all the examples I can find about text files show you using EBCDIC data in your RPG program and writing it to the IFS in ASCII format. What if I wanted to use Unicode in my RPG program? How would I write that to the IFS? A: RPG natively supports Unicode characters with its UCS-2 data type and the %ucs2 built-in function (BIF). You can use this support to store Unicode data in your variables, and then can ...

REGISTER NOW TO ACCESS THIS ARTICLE

All registered users get access to premium content on iPro Developer for free.

Already registered? here.