Documents in national data items must be encoded with Unicode UTF-16, CCSID 1202.
XML documents in alphanumeric data items must be encoded using one of the single-byte ASCII or EBCDIC code pages shown in the table of locales and code pages that are supported, referenced below. Documents in native alphanumeric data items must be encoded with an ASCII code page. Documents in host alphanumeric data items must be encoded with an EBCDIC code page. The single-byte code pages are those for which the “Language group” column (the rightmost column of the table) does not specify ideographic languages. XML documents cannot be encoded in code page 1208, Unicode UTF-8.
To parse XML documents that are encoded in other code pages, first convert the documents to national characters by using the NATIONAL-OF intrinsic function. You can convert the individual pieces of document text that are passed to the processing procedure in special register XML-NTEXT back to the original code page by using the DISPLAY-OF intrinsic function.
related tasks
Converting to or from national (Unicode) representation
Specifying the code page
related references
Locales and code pages that are supported