[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: ANSI encoding

Subject: Re: ANSI encoding
From: Mike Brown <mike@xxxxxxxx>
Date: Wed, 22 May 2002 19:27:42 -0600 (MDT)
ansi encoding
Joel Konkle-Parker wrote:
> What's the <?xml version="1.0" encoding=""?> encoding="" string for
> ANSI?

ANSI, these days, is more often than not a generic name for any one of a dozen
or more Windows platform default encodings. These encodings have "code page"
numbers as well as a variety of more widely recognized aliases. It is one of
the more widely recognized aliases that you need to use. You might try
"windows-1252" if you're in the USA or (very-) Western Europe, and if you
haven't configured your OS for some other default region.

However, if I were you, I would get an editor that doesn't rely on the OS to
decide the encoding of the files it writes. Only UTF-8 and UTF-16 are
guaranteed to be supported by every XML parser, so it's risky to use any
others. There are plenty of editors that can save a file as UTF-8, or that
give you a choice. With such an editor, you wouldn't have to guess at the
encoding that was used.

   - Mike
____________________________________________________________________________
  mike j. brown                   |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  resume: http://skew.org/~mike/resume/

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.