When transferring XML values from server to client, the following encoding rules apply.
| IF the value is returned as… | THEN the value is encoded as… |
|---|---|
| text format XML type value | UTF-8. |
| VARCHAR or CLOB | the same as the session character set. |
| BLOB | the encoding requested in the call to the XMLSERIALIZE function. |