XML Functions (LR_XML) > XML Character Encoding

XML Character Encoding

By default, XML functions support the UTF-8 character encoding for XML input documents.

Examples of UTF-8 encoding:

   No encoding specified:

   "<?xml version=\"1.0\"?>"

   UTF-8 specified:

   "<?xml version=\"1.0\" encoding =\"UTF-8\"?>"

XML functions support any locally defined encoding. For encoding other than UTF-8, the client and server must use the same encoding.

Example:

   SHIFT_JIS specified:

   "<?xml version=\"1.0\" encoding =\"SHIFT_JIS\"?>"