| 1 |
This directory contains encoding maps for some selected encodings. |
| 2 |
|
| 3 |
These maps were generated by a perl script, make_encmap, from mapping |
| 4 |
information available from the Internet at |
| 5 |
ftp://ftp.unicode.org/Public/MAPPINGS. |
| 6 |
|
| 7 |
If you edit the generated XML file to add the "expat='yes'" to the |
| 8 |
encmap start tag, then you can use the compile_encoding script to check |
| 9 |
whether the map meets expat requirements (and also create the corresponding |
| 10 |
binary encmap file.) |
| 11 |
|
| 12 |
The file encmap.dtd is the document type declaration for these files |
| 13 |
and contains information about the semantics. This should give you |
| 14 |
sufficient information to build your own encoding map. I can't vouch |
| 15 |
for the validity of the DTD, since I haven't processed it. It is provided |
| 16 |
for informational purposes only. |
| 17 |
|
| 18 |
As mentioned in the DTD, there are some restrictions on what kinds of |
| 19 |
encodings can be loaded due to restrictions that the expat library places |
| 20 |
on us for efficiency reasons. |
| 21 |
|
| 22 |
One of those restrictions is that the encoding must represent the ASCII |
| 23 |
set of characters with a single byte and that byte must be equal to the |
| 24 |
equivalent Unicode scalar value with the exception of a few punctuation |
| 25 |
characters. |
| 26 |
|
| 27 |
This distribution contains four contributed encodings from MURATA Makoto |
| 28 |
<[email protected]> that are variations on the encoding |
| 29 |
commonly called Shift_JIS: |
| 30 |
|
| 31 |
x-sjis-cp932.xml |
| 32 |
x-sjis-jdk117.xml |
| 33 |
x-sjis-jisx0221.xml |
| 34 |
x-sjis-unicode.xml (This is the same encoding as the shift_jis.xml that |
| 35 |
was distributed with this module in version 1.00) |
| 36 |
|
| 37 |
Please read his message (Japanese_Encodings.msg) about why these are here |
| 38 |
and why I've removed the shift_jis.xml encoding. |
| 39 |
|
| 40 |
We also have two contributed encodings that are variations of the EUC-JP |
| 41 |
encoding from Yoshida Masato <[email protected]>: |
| 42 |
|
| 43 |
x-euc-jp-jisx0221.xml |
| 44 |
x-euc-jp-unicode.xml |
| 45 |
|
| 46 |
|
| 47 |
The comments that MURATA Makoto made in his message apply to these |
| 48 |
encodings too. |
| 49 |
|
| 50 |
I've taken the liberty of breaking out common sections for these two as |
| 51 |
external entities. So the fault of the uninformative names of these |
| 52 |
four external entites is mine. |
| 53 |
|
| 54 |
Clark Cooper |
| 55 |
December 26, 1998 |
| 56 |
|
| 57 |
|