[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: XML/XSL Transformation ENCODING error
- From: Mike Brown <mike@skew.org>
- To: xml-dev@lists.xml.org
- Date: Thu, 21 Jun 2001 06:39:53 -0600 (MDT)
Dylan Walsh wrote:
> For the encoding format, try using "cp1252" or perhaps using UTF-8 (the
> default XML encoding).
No, you certainly wouldn't want to misdeclare the encoding as utf-8 if the
actual encoding is windows-1252! The bytes above 0x7F would be
misinterpreted.
"cp1252" is not in the IANA registry but might work with certain parsers,
especially if they are writen in Java. A misdeclaration of "iso-8859-1"
also might suffice.
- Mike
_____________________________________________________________________________
mike j. brown, software engineer at | xml/xslt: http://skew.org/xml/
webb.net in denver, colorado, USA | personal: http://hyperreal.org/~mike/