Character sets and XML data

If the declared character sets of your client and server differ, you must be careful when declaring the character set of your XML documents.

Every XML document has a character encoding that is either specified in the encoding declaration of the XML declaration or is UTF-8 by default.