The XML spec requires support for UTF-8 and UTF-16. The Decoder interface was specifically designed to allow an "intelligent" decoder to be implemented which automatically figures out which encoding to use. Supporting only UTF-8 and UTF-16 should be enough for now.
The XML spec requires support for UTF-8 and UTF-16. The
Decoder
interface was specifically designed to allow an "intelligent" decoder to be implemented which automatically figures out which encoding to use. Supporting only UTF-8 and UTF-16 should be enough for now.