xsl-list
[Top] [All Lists]

Re: data vs. xml

2003-04-04 11:51:45
Michael Kay wrote:
You should specify the actual encoding of the XML file in an XML
declaration at its start. Your encoding is probably cp1252. Then you
need to parse it using an XML parser that recognizes this encoding.

cp1252 is the Java name for it. The official name that is supposed to be used
in XML encoding declarations and MIME charset parameters is windows-1252. Ref:
http://www.iana.org/assignments/character-sets

Some XML parsers, however, accept unofficial names for encodings, and might
not recognize the official names, so you do what you have to...

Mike

-- 
  Mike J. Brown   |  http://skew.org/~mike/resume/
  Denver, CO, USA |  http://skew.org/xml/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>