Seth Woolley's Man Viewer

charmap(5) - charmap, charmap - character symbols to define character encodings - man 5 charmap

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

CHARMAP(5)                     Linux User Manual                    CHARMAP(5)

       charmap - character symbols to define character encodings

       A  character set(7,n,1 builtins) description (charmap) defines a characterset of avail-
       able characters and  their  encodings.  All  supported  character  sets
       should have the portable character set(7,n,1 builtins) as a proper subset.

       The  charmap file(1,n) starts with a header, that may consist of the follow-
       ing keywords:

              is followed by the name of the codeset.

              is followed by the max number of bytes for  a  multibyte-charac-
              ter.   Multibyte  characters  are  currently  not supported. The
              default value is 1.

              is followed by the min number of bytes  for  a  character.  This
              value  must be less(1,3) or equal than mb_cur_max.  If not specified,
              it defaults to mb_cur_max.

              is followed by a character that should be used  as  the  escape-
              character  for  the  rest  of  the  file(1,n) to mark characters that
              should be interpreted in(1,8) a special way. It defaults to the back-
              slash ( \ ).

              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 ( # ).

       The charmap-definition itself starts with the keyword CHARMAP in(1,8) column

       The following lines may have one of the two following forms  to  define
       the character-encodings:

       <symbolic-name> <encoding(3,n)> <comments>
              This form defines exactly one character and its encoding.

       <symbolic-name>...<symbolic-name> <encoding(3,n)> <comments>
              This  form  defines  a couple of characters. This is only useful
              for mutlibyte-characters, which are currently not implemented.

       The last line in(1,8) a charmap-definition file(1,n) must contain END CHARMAP.

       A symbolic name for a character contains only characters of the  porta-
       ble character set.  The name itself is enclosed between angle brackets.
       Characters following an <escape_char> are interpreted  as  itself;  for
       example,  the  sequence  '<\\\>>'  represents  the  symbolic  name '\>'
       enclosed in(1,8) angle brackets.

       The encoding(3,n) may be in(1,8) each of the following three forms:

              with a decimal number

              with a hexadecimal number

              with an octal  number.


       Jochen Hein (


       locale(3,5,7)(1), localedef(1), localeconv(3), setlocale(3), locale(3,5,7)(5)

National Language Support         1994-11-28                        CHARMAP(5)

References for this manual (incoming links)