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