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