This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: ANSI encoding


> 
> What's the <?xml version="1.0" encoding=""?> encoding="" 
> string for ANSI?
> 

"ANSI" is the American National Standards Institute, but when used to
describe a character set, you probably mean one of the proprietary
Microsoft Windows character sets.

(Why did they call it ANSI? It's a long story. The original IBM PC
character set was a million miles from conforming to any standard.
Windows (was it 3.1?) made a big step towards adopting international
standards, but Microsoft hadn't quite grasped what conformance meant at
that stage. Anyway, the book of international standards that they picked
up was published in the US by ANSI, so that's what they called it, even
though the standards were mainly European in origin, and even though
they modified them).

Unless you use the special Microsoft characters in positions x80-x9f, or
a codepage other than the Western European one, you can specify
encoding="iso-8859-1", which most XML parsers will accept, although they
aren't obliged to.

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]