table of contents
other versions
- jessie 3.74-1
- jessie-backports 4.10-2~bpo8+1
- stretch 4.10-2
- testing 4.16-1
- stretch-backports 4.16-1~bpo9+1
- unstable 4.16-1
other sections
CHARMAP(5) | Linux Programmer's Manual | CHARMAP(5) |
NAME¶
charmap - character set description fileDESCRIPTION¶
A character set description (charmap) defines all available characters and their encodings in a character set. localedef(1) can use charmaps to create locale variants for different character sets.Syntax¶
The charmap file starts with a header that may consist of the following keywords:- <code_set_name>
- is followed by the name of the character map.
- <comment_char>
- is followed by a character that will be used as the comment character for the rest of the file. It defaults to the number sign (#).
- <escape_char>
- is followed by a character that should be used as the escape character for the rest of the file to mark characters that should be interpreted in a special way. It defaults to the backslash (\).
- <mb_cur_max>
- is followed by the maximum number of bytes for a character. The default value is 1.
- <mb_cur_min>
- is followed by the minimum number of bytes for a character. This value must be less than or equal than mb_cur_max. If not specified, it defaults to mb_cur_max.
- <character> <byte-sequence> <comment>
- This form defines exactly one character and its byte sequence, <comment> being optional.
- <character>..<character> <byte-sequence> <comment>
- This form defines a character range and its byte sequence, <comment> being optional.
- <character> <width>
- This form defines the width of exactly one character.
- <character>...<character> <width>
- This form defines the width for all the characters in the range.
FILES¶
- /usr/share/i18n/charmaps
- Usual default character map path.
CONFORMING TO¶
POSIX.2.EXAMPLE¶
The Euro sign is defined as follows in the UTF-8 charmap:<U20AC> /xe2/x82/xac
SEE ALSO¶
iconv(1), locale(1), localedef(1), locale(5), charsets(7)COLOPHON¶
This page is part of release 3.74 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at http://www.kernel.org/doc/man-pages/.2014-07-08 | GNU |