annotate etc/charsets/README @ 89965:5e9097d1ad99

Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-31 Adjust code merged from trunk for unicode branch
author Miles Bader <miles@gnu.org>
date Wed, 18 Aug 2004 06:38:14 +0000
parents b875692f1ec6
children 4595caa03b6b
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.
89482
b875692f1ec6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89434
diff changeset
2 # Copyright (C) 2003
88417
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
89482
b875692f1ec6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89434
diff changeset
5 # Copyright (C) 2003 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
89482
b875692f1ec6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89434
diff changeset
42 All mapping files are generated automatically from data files freely
b875692f1ec6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89434
diff changeset
43 available on the Internet (e.g. glibc/localedata/charmaps"). See the
b875692f1ec6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89434
diff changeset
44 file ../../admin/charsets/Makefile for the detail.