Merge from emacs--devo--0
[bpt/emacs.git] / etc / charsets / README
1 # README file for charset mapping files in this directory.
2 # Copyright (C) 2003
3 # National Institute of Advanced Industrial Science and Technology (AIST)
4 # Registration Number H13PRO009
5 # Copyright (C) 2003 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 2, or (at your option)
12 # 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; see the file COPYING. If not, write to
21 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22 # Boston, MA 02111-1307, USA.
23
24
25 (1) Format of mapping files
26
27 Each line contains a code point and the corresponding Unicode
28 character code separated by a space. Both code points and Unicode
29 character codes are in hexadecimal preceded by "0x". Comments may be
30 used, starting with "#". Code ranges may also be used, with
31 (inclusive) start and end code points separated by "-" followed by the
32 unicode of the start of the range
33
34 Examples:
35 0xA0 0x00A0 # no-break space
36
37 0x8141-0x8143 0x4E04 # map onto a Unicode range
38
39
40 (2) Source of mapping files
41
42 All mapping files are generated automatically from data files freely
43 available on the Internet (e.g. glibc/localedata/charmaps"). See the
44 file ../../admin/charsets/Makefile for the detail.