You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Eric Hodges <er...@mongoosetech.com> on 2002/04/01 21:48:02 UTC

UTF-16 not supported?

When I ask Xerces to parse a document starting with this line:

<?xml version="1.0" encoding="UTF-16" ?>

It throws this exception:

org.xml.sax.SAXParseException: The encoding "UTF-16" is not supported.
     at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1196)


I thought UTF-16 was supposed to be supported by all XML parsers, wasn't it?

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org