Encodings

Elliotte Rusty Harold elharo at metalab.unc.edu
Thu Oct 14 18:05:30 BST 1999


>Does anyone know of a good central site for finding information on the
>several hundred character encodings that seem to be options on various XML
>processors?


There is no good single source of reference for all these. However, 
the reason all these are present in most XML parsers is that most XML 
parsers use Java's InputStreamReader and OutputStreamWriter classes. 
Those classes support all these different encodings. Details are 
covered in Chapter 14 and 15 of my Java I/O book from O'Reilly. 
However, if all you want are the official names of all the different 
encodings you'll find them at

http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html

This gives the basic list for JDK 1.2.2. (To get an exhaustive list 
you have to dejar the jar file and look at certain class names in the 
sun packages.) Other VMs (especially 1.1 VMs and Microsoft VMs) may 
be slightly different. The big addition to the 1.2.2 list was ASCII 
which was notable by its absence in earlier VMs.

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|               Java I/O (O'Reilly & Associates, 1999)               |
|            http://metalab.unc.edu/javafaq/books/javaio/            |
|   http://www.amazon.com/exec/obidos/ISBN=1565924851/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://metalab.unc.edu/javafaq/ |
|  Read Cafe con Leche for XML News: http://metalab.unc.edu/xml/     |
+----------------------------------+---------------------------------+

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list