README 1.54 KB
Newer Older
Kenichi Handa's avatar
Kenichi Handa committed
1
# README file for charset mapping files in this directory.
2

Paul Eggert's avatar
Paul Eggert committed
3
# Copyright (C) 2003-2019 Free Software Foundation, Inc.
4
# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
Kenichi Handa's avatar
Kenichi Handa committed
5 6 7 8 9
#   National Institute of Advanced Industrial Science and Technology (AIST)
#   Registration Number H13PRO009

# This file is part of GNU Emacs.

10
# GNU Emacs is free software: you can redistribute it and/or modify
Kenichi Handa's avatar
Kenichi Handa committed
11
# it under the terms of the GNU General Public License as published by
12 13
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
Kenichi Handa's avatar
Kenichi Handa committed
14 15 16 17 18 19 20

# GNU Emacs is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
21
# along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.
Kenichi Handa's avatar
Kenichi Handa committed
22 23 24 25 26

(1) Format of mapping files

Each line contains a code point and the corresponding Unicode
character code separated by a space.  Both code points and Unicode
Dave Love's avatar
Dave Love committed
27
character codes are in hexadecimal preceded by "0x".  Comments may be
Dave Love's avatar
Dave Love committed
28 29
used, starting with "#".  Code ranges may also be used, with
(inclusive) start and end code points separated by "-" followed by the
Kenichi Handa's avatar
Kenichi Handa committed
30
Unicode of the start of the range
Kenichi Handa's avatar
Kenichi Handa committed
31

Dave Love's avatar
Dave Love committed
32 33 34
Examples:
0xA0 0x00A0  # no-break space

Dave Love's avatar
Dave Love committed
35
0x8141-0x8143 0x4E04 # map onto a Unicode range
Kenichi Handa's avatar
Kenichi Handa committed
36 37 38 39


(2) Source of mapping files

40 41
All mapping files are generated automatically from files in the
admin/charsets directory in the Emacs source.