[Home] [By Thread] [By Date] [Recent Entries]

  • From: Mike Brown <mike@s...>
  • To: xml-dev@l...
  • 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/

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member