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.