XML characters are defined by Unicode standards.

Unicode in XML

Method Description
UTF-2 All supported characters are represented with 2 bytes.
UTF-8 All supported characters are represented with a pair of 1 byte - 4 bytes.
UTF-16 All supported characters are represented with a pair of 2 bytes - 4 bytes.