]> code.delx.au - gnu-emacs/blob - etc/charsets/README
cd009220c3bd08f7cbf79ace51588d5cf1330c0a
[gnu-emacs] / etc / charsets / README
1 # README file for charset mapping files in this directory.
2 # Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
3 # National Institute of Advanced Industrial Science and Technology (AIST)
4 # Registration Number H13PRO009
5 # Copyright (C) 2003-2011 Free Software Foundation, Inc.
6
7 # This file is part of GNU Emacs.
8
9 # GNU Emacs is free software: you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation, either version 3 of the License, or
12 # (at your option) any later version.
13
14 # GNU Emacs is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
18
19 # You should have received a copy of the GNU General Public License
20 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
21
22 (1) Format of mapping files
23
24 Each line contains a code point and the corresponding Unicode
25 character code separated by a space. Both code points and Unicode
26 character codes are in hexadecimal preceded by "0x". Comments may be
27 used, starting with "#". Code ranges may also be used, with
28 (inclusive) start and end code points separated by "-" followed by the
29 Unicode of the start of the range
30
31 Examples:
32 0xA0 0x00A0 # no-break space
33
34 0x8141-0x8143 0x4E04 # map onto a Unicode range
35
36
37 (2) Source of mapping files
38
39 All mapping files are generated automatically from data files freely
40 available on the Internet (e.g. glibc/localedata/charmaps"). See the
41 file ../../admin/charsets/mapfiles/README for the detail.