I've been maintaining a port of the Expat open-source XML parser for the System i and providing ILE RPG language bindings for it. The fact that Expat outputs its results in the UTF-8 flavor of Unicode makes it tricky to use. Because RPG doesn't understand UTF-8, it requires you to delve into Coded Character Set Identifier (CCSID) translation APIs, which in turn makes the process more complicated. This week, I found a feature that lets Expat write its output in UTF-16 instead! ...

REGISTER NOW TO ACCESS THIS ARTICLE

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

Already registered? here.