Convert consecutive FSF copyright years to ranges.
[bpt/emacs.git] / etc / charsets / README
CommitLineData
f8b185be 1# README file for charset mapping files in this directory.
5df4f04c 2# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
f8b185be
KH
3# National Institute of Advanced Industrial Science and Technology (AIST)
4# Registration Number H13PRO009
73b0cd50 5# Copyright (C) 2003-2011 Free Software Foundation, Inc.
f8b185be
KH
6
7# This file is part of GNU Emacs.
8
ab73e885 9# GNU Emacs is free software: you can redistribute it and/or modify
f8b185be 10# it under the terms of the GNU General Public License as published by
ab73e885
GM
11# the Free Software Foundation, either version 3 of the License, or
12# (at your option) any later version.
f8b185be
KH
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
ab73e885 20# along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
f8b185be
KH
21
22(1) Format of mapping files
23
24Each line contains a code point and the corresponding Unicode
25character code separated by a space. Both code points and Unicode
b1603380 26character codes are in hexadecimal preceded by "0x". Comments may be
812b3925
DL
27used, starting with "#". Code ranges may also be used, with
28(inclusive) start and end code points separated by "-" followed by the
6c73ae8b 29Unicode of the start of the range
f8b185be 30
b1603380
DL
31Examples:
320xA0 0x00A0 # no-break space
33
812b3925 340x8141-0x8143 0x4E04 # map onto a Unicode range
f8b185be
KH
35
36
37(2) Source of mapping files
38
9d480743
KH
39All mapping files are generated automatically from data files freely
40available on the Internet (e.g. glibc/localedata/charmaps"). See the
6c73ae8b 41file ../../admin/charsets/mapfiles/README for the detail.