{"id":4480,"date":"2022-12-20T18:08:46","date_gmt":"2022-12-20T21:08:46","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/charmap-man5\/"},"modified":"2022-12-20T18:08:46","modified_gmt":"2022-12-20T21:08:46","slug":"charmap-man5","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/charmap-man5\/","title":{"rendered":"CHARMAP (man5)"},"content":{"rendered":"<h1 align=\"center\">CHARMAP<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#FILES\">FILES<\/a><br \/> <a href=\"#CONFORMING TO\">CONFORMING TO<\/a><br \/> <a href=\"#EXAMPLES\">EXAMPLES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#COLOPHON\">COLOPHON<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">charmap \u2212 character set description file<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">A character set description (charmap) defines all available characters and their encodings in a character set. <b>localedef<\/b>(1) can use charmaps to create locale variants for different character sets.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Syntax<\/b> <br \/> The charmap file starts with a header that may consist of the following keywords: <br \/> <<i>code_set_name<\/i>><\/p>\n<p style=\"margin-left:22%;\">is followed by the name of the character map.<\/p>\n<p style=\"margin-left:11%;\"><<i>comment_char<\/i>><\/p>\n<p style=\"margin-left:22%;\">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 (#).<\/p>\n<p style=\"margin-left:11%;\"><<i>escape_char<\/i>><\/p>\n<p style=\"margin-left:22%;\">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 ().<\/p>\n<p style=\"margin-left:11%;\"><<i>mb_cur_max<\/i>><\/p>\n<p style=\"margin-left:22%;\">is followed by the maximum number of bytes for a character. The default value is 1.<\/p>\n<p style=\"margin-left:11%;\"><<i>mb_cur_min<\/i>><\/p>\n<p style=\"margin-left:22%;\">is followed by the minimum number of bytes for a character. This value must be less than or equal than <<i>mb_cur_max<\/i>>. If not specified, it defaults to <<i>mb_cur_max<\/i>>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The character set definition section starts with the keyword <i>CHARMAP<\/i> in the first column.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The following lines may have one of the two following forms to define the character set: <br \/> <<i>character<\/i>>\u00a0<i>byte-sequence\u00a0comment<\/i><\/p>\n<p style=\"margin-left:22%;\">This form defines exactly one character and its byte sequence, <i>comment<\/i> being optional.<\/p>\n<p style=\"margin-left:11%;\"><<i>character<\/i>>..<<i>character<\/i>>\u00a0<i>byte-sequence\u00a0comment<\/i><\/p>\n<p style=\"margin-left:22%;\">This form defines a character range and its byte sequence, <i>comment<\/i> being optional.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The character set definition section ends with the string <i>END CHARMAP<\/i>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The character set definition section may optionally be followed by a section to define widths of characters.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The <i>WIDTH_DEFAULT<\/i> keyword can be used to define the default width for all characters not explicitly listed. The default character width is 1.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The width section for individual characters starts with the keyword <i>WIDTH<\/i> in the first column.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The following lines may have one of the two following forms to define the widths of the characters: <br \/> <<i>character<\/i>>\u00a0<i>width<\/i><\/p>\n<p style=\"margin-left:22%;\">This form defines the width of exactly one character.<\/p>\n<p style=\"margin-left:11%;\"><<i>character<\/i>>&#8230;<<i>character<\/i>>\u00a0<i>width<\/i><\/p>\n<p style=\"margin-left:22%;\">This form defines the width for all the characters in the range.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The width definition section ends with the string <i>END WIDTH<\/i>.<\/p>\n<h2>FILES <a name=\"FILES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>\/usr\/share\/i18n\/charmaps<\/i><\/p>\n<p style=\"margin-left:22%;\">Usual default character map path.<\/p>\n<h2>CONFORMING TO <a name=\"CONFORMING TO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">POSIX.2.<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The Euro sign is defined as follows in the <i>UTF\u22128<\/i> charmap:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><U20AC> \/xe2\/x82\/xac EURO SIGN<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>iconv<\/b>(1), <b>locale<\/b>(1), <b>localedef<\/b>(1), <b>locale<\/b>(5), <b>charsets<\/b>(7)<\/p>\n<h2>COLOPHON <a name=\"COLOPHON\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This page is part of release 5.10 of the Linux <i>man-pages<\/i> project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https:\/\/www.kernel.org\/doc\/man\u2212pages\/.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  charmap \u2212 character set description file <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[959],"tags":[961,1454,1291],"class_list":["post-4480","post","type-post","status-publish","format-standard","hentry","category-5-formatos-de-ficheros","tag-961","tag-charmap","tag-man5"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4480","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=4480"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4480\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}