annotate etc/charsets/README @ 88689:e324faed6fcc

Fix description of ranges.
author Dave Love <fx@gnu.org>
date Thu, 30 May 2002 21:52:50 +0000
parents d3c120a01077
children 957a41d75fd5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
88417
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1 # README file for charset mapping files in this directory.
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2 # Copyright (C) 2001, 2002
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
3 # National Institute of Advanced Industrial Science and Technology (AIST)
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
4 # Registration Number H13PRO009
88536
d3c120a01077 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 88417
diff changeset
5 # Copyright (C) 2002 Free Software Foundation, Inc.
88417
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
6
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
7 # This file is part of GNU Emacs.
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
8
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
9 # GNU Emacs is free software; you can redistribute it and/or modify
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
10 # it under the terms of the GNU General Public License as published by
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
11 # the Free Software Foundation; either version 2, or (at your option)
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
12 # any later version.
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
13
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
14 # GNU Emacs is distributed in the hope that it will be useful,
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
17 # GNU General Public License for more details.
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
18
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
19 # You should have received a copy of the GNU General Public License
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
20 # along with GNU Emacs; see the file COPYING. If not, write to
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
21 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
22 # Boston, MA 02111-1307, USA.
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
23
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
24
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
25 (1) Format of mapping files
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
26
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
27 Each line contains a code point and the corresponding Unicode
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
28 character code separated by a space. Both code points and Unicode
88536
d3c120a01077 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 88417
diff changeset
29 character codes are in hexadecimal preceded by "0x". Comments may be
88689
e324faed6fcc Fix description of ranges.
Dave Love <fx@gnu.org>
parents: 88536
diff changeset
30 used, starting with "#". Code ranges may also be used, with
e324faed6fcc Fix description of ranges.
Dave Love <fx@gnu.org>
parents: 88536
diff changeset
31 (inclusive) start and end code points separated by "-" followed by the
e324faed6fcc Fix description of ranges.
Dave Love <fx@gnu.org>
parents: 88536
diff changeset
32 unicode of the start of the range
88417
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
33
88536
d3c120a01077 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 88417
diff changeset
34 Examples:
d3c120a01077 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 88417
diff changeset
35 0xA0 0x00A0 # no-break space
d3c120a01077 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 88417
diff changeset
36
88689
e324faed6fcc Fix description of ranges.
Dave Love <fx@gnu.org>
parents: 88536
diff changeset
37 0x8141-0x8143 0x4E04 # map onto a Unicode range
88417
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
38
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
39
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
40 (2) Source of mapping files
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
41
88536
d3c120a01077 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 88417
diff changeset
42 Most mapping files are generated from the data files distributed with
88417
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
43 glibc (under the sub-directory "localedata/charmaps"). This list
88536
d3c120a01077 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 88417
diff changeset
44 shows the correspondence of the data file, the mapping file, and which
d3c120a01077 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 88417
diff changeset
45 charset uses it.
88417
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
46
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
47 DATA-FILE MAP-FILE CHARSET
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
48 ========= ======== =======
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
49 ISO-8859-2 8859-2.map iso-8859-2
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
50 ISO-8859-3 8859-3.map iso-8859-3
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
51 ISO-8859-4 8859-4.map iso-8859-4
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
52 ISO-8859-5 8859-5.map iso-8859-5
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
53 ISO-8859-6 8859-6.map iso-8859-6
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
54 ISO-8859-7 8859-7.map iso-8859-7
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
55 ISO-8859-8 8859-8.map iso-8859-8
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
56 ISO-8859-9 8859-9.map iso-8859-9
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
57 ISO-8859-10 8859-10.map iso-8859-10
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
58 ISO-8859-13 8859-13.map iso-8859-13
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
59 ISO-8859-14 8859-14.map iso-8859-14
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
60 ISO-8859-15 8859-15.map iso-8859-15
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
61 ISO-8859-16 8859-16.map iso-8859-16
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
62 GB2312 gb2312-1980.map chinese-gb2312
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
63 EUC-KR ksc5601-1987.map korean-ksc5601
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
64 JIS_C6220-1969-RO and EUC-JP jisx0201.map jisx0201
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
65 EUC-JP jisx0208-1990.map japanese-jisx0208
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
66 EUC-JP jisx0212-1990.map japanese-jisx0212
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
67 EUC-TW cns11643-1.map chinese-cns11643-1
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
68 EUC-TW cns11643-2.map chinese-cns11643-2
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
69 BIG5 big5.map big5
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
70 BIG5 big5-1.map chinese-big5-1
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
71 BIG5 big5-2.map chinese-big5-2
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
72 MACINTOSH mac-roman.map mac-roman
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
73 VISCII viscii.map viscii
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
74 VISCII viscii-lower.map vietnamese-viscii-lower
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
75 VISCII viscii-upper.map vietnamese-viscii-upper
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
76 VISCII vscii.map vscii
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
77 KOI8-R koi8-r.map koi8-r
ad2a9fd4da9b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
78 IBM866 ibm866.map alternativnyj
88536
d3c120a01077 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 88417
diff changeset
79 CP1251 windows-1251.map windows-1251
d3c120a01077 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 88417
diff changeset
80 CP1250 windows-1250.map windows-1250
d3c120a01077 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 88417
diff changeset
81 GEORGIAN-PS georgian-ps.map georgian-ps
d3c120a01077 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 88417
diff changeset
82 KOI8-U koi8-u.map koi8-u
d3c120a01077 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 88417
diff changeset
83 KOI8-T koi8-t.map koi8-t
d3c120a01077 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 88417
diff changeset
84 EBCDIC-US ebcdic.us.map ebcdic-us
d3c120a01077 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 88417
diff changeset
85 EBCDIC-UK ebcdic.uk.map ebcdic-uk
d3c120a01077 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 88417
diff changeset
86 CP1250 windows-1250.map windows-1250
d3c120a01077 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 88417
diff changeset
87 CP1251 windows-1251.map windows-1251
d3c120a01077 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 88417
diff changeset
88 CP1252 windows-1252.map windows-1252
d3c120a01077 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 88417
diff changeset
89
d3c120a01077 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 88417
diff changeset
90 From ICU:
d3c120a01077 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 88417
diff changeset
91 cp1125.map cp1125