OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XML/XSL Transformation ENCODING error



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/