DB2 10.5 for Linux, UNIX, and Windows
Mapping internally encoded XML data and CCSIDs
The DB2® database manager determines the CCSID based on the XML internal encoding when converting data from XML data to another data type, and determines the XML internal encoding name based on the CCSID when converting data to the XML data type.