DB2 10.5 for Linux, UNIX, and Windows

Encoding considerations when storing or passing XML data

XML data must be encoded properly to be stored in a DB2® table. Encoding must be considered when the data is retrieved from the table and used with DB2 stored procedures or user-defined functions, or when used with external Java™ applications.