[XSL-LIST Mailing List Archive Home]
Re: [xsl] data vs. xml
Subject: Re: [xsl] data vs. xml|
From: Mike Brown <mike@xxxxxxxx>
Date: Fri, 4 Apr 2003 11:51:45 -0700 (MST)
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:
Some XML parsers, however, accept unofficial names for encodings, and might
not recognize the official names, so you do what you have to...
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