man-pages/man5/repertoiremap.5.html
2021-03-31 01:06:50 +01:00

139 lines
3.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of REPERTOIREMAP</TITLE>
</HEAD><BODY>
<H1>REPERTOIREMAP</H1>
Section: Linux User Manual (5)<BR>Updated: 2019-03-06<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
repertoiremap - map symbolic character names to Unicode code points
<A NAME="lbAC">&nbsp;</A>
<H2>DESCRIPTION</H2>
A repertoire map defines mappings between symbolic character names
(mnemonics) and Unicode code points when compiling a locale with
<B><A HREF="/cgi-bin/man/man2html?1+localedef">localedef</A></B>(1).
Using a repertoire map is optional, it is needed only when symbolic
names are used instead of now preferred Unicode code points.
<A NAME="lbAD">&nbsp;</A>
<H3>Syntax</H3>
The repertoiremap file starts with a header that may consist of the
following keywords:
<DL COMPACT>
<DT id="1"><I>comment_char</I>
<DD>
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 (#).
<DT id="2"><I>escape_char</I>
<DD>
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 (\).
</DL>
<P>
The mapping section starts with the keyword
<I>CHARIDS</I>
in the first column.
<P>
The mapping lines have the following form:
<DL COMPACT>
<DT id="3"><I>&lt;symbolic-name&gt; &lt;code-point&gt; comment</I>
<DD>
This defines exactly one mapping,
<I>comment</I>
being optional.
</DL>
<P>
The mapping section ends with the string
<I>END CHARIDS</I>.
<A NAME="lbAE">&nbsp;</A>
<H2>FILES</H2>
<DL COMPACT>
<DT id="4"><I>/usr/share/i18n/repertoiremaps</I>
<DD>
Usual default repertoire map path.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>CONFORMING TO</H2>
POSIX.2.
<A NAME="lbAG">&nbsp;</A>
<H2>NOTES</H2>
Repertoire maps are deprecated in favor of Unicode code points.
<A NAME="lbAH">&nbsp;</A>
<H2>EXAMPLE</H2>
A mnemonic for the Euro sign can be defined as follows:
<P>
<PRE>
&lt;Eu&gt; &lt;U20AC&gt; EURO SIGN
</PRE>
<A NAME="lbAI">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?1+locale">locale</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+localedef">localedef</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?5+charmap">charmap</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?5+locale">locale</A></B>(5)
<A NAME="lbAJ">&nbsp;</A>
<H2>COLOPHON</H2>
This page is part of release 5.05 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
<A HREF="https://www.kernel.org/doc/man-pages/.">https://www.kernel.org/doc/man-pages/.</A>
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
<DT id="6"><A HREF="#lbAC">DESCRIPTION</A><DD>
<DL>
<DT id="7"><A HREF="#lbAD">Syntax</A><DD>
</DL>
<DT id="8"><A HREF="#lbAE">FILES</A><DD>
<DT id="9"><A HREF="#lbAF">CONFORMING TO</A><DD>
<DT id="10"><A HREF="#lbAG">NOTES</A><DD>
<DT id="11"><A HREF="#lbAH">EXAMPLE</A><DD>
<DT id="12"><A HREF="#lbAI">SEE ALSO</A><DD>
<DT id="13"><A HREF="#lbAJ">COLOPHON</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:04 GMT, March 31, 2021
</BODY>
</HTML>