Re: org.xml.sax.SAXException: The encoding "ASCII " is not
supported 2003-01-20 - By Elliotte Rusty Harold
At 3:23 PM +0100 1/20/03, Hermann Angstl wrote:
>Enable/disable validation doesn't change anything :(( >Does this really mean that the parser can't parse US-ASCII ?
Earlier version of Java did not recognize the encoding name "ASCII". You can try "US-ASCII" instead, but even that fails in 1.3 and earlier, possibly in 1.3, (I'd have to check the exact versions.) Best just to say "UTF-8". All ASCII documents are simultaneously legal UTF-8 documents. --
+-----------------------+------------------------+-------------------+ | Elliotte Rusty Harold | elharo@(protected) | Writer/Programmer | +-----------------------+------------------------+-------------------+ | Processing XML with Java (Addison-Wesley, 2002) | | http://www.cafeconleche.org/books/xmljava | | http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA | +----------------------------------+---------------------------------+ | Read Cafe au Lait for Java News: http://www.cafeaulait.org/ | | Read Cafe con Leche for XML News: http://www.cafeconleche.org/ | +----------------------------------+---------------------------------+
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|