repertoiremap(5)
๐ repertoiremap โ bestie edition ๐
okay so this is the repertoiremap(5) page, file formats manual energy, and it's literally about teaching your computer the โจnamesโจ of characters instead of just their numbers.
๐ธ NAME ๐ธ
repertoiremap โ map symbolic character names to Unicode code points ๐ฆ
โจ DESCRIPTION โจ
So a repertoire map is this little file that defines the mappings between symbolic character names (aka mnemonics, the cute nicknames) and Unicode code points (the actual numbers). You use it when you're compiling a locale with localedef(1).
And likeโฆ using a repertoire map is optional, bestie. It's only needed when symbolic names are used instead of the now preferred Unicode code points. so basically legacy vibes, iykyk ๐
๐ Syntax ๐
The repertoiremap file starts with a header that may consist of the following keywords:
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 (\). ๐ช
The mapping section starts with the keyword CHARIDS in the first column. (yes, first column. it's picky like that, not me tho ๐ญ)
The mapping lines have the following form:
<symbolic-name> <code-point> comment
This defines exactly one mapping, comment being optional. one line, one mapping, no sharing, not me being monogamous with the syntax ๐
The mapping section ends with the string END CHARIDS. ๐
๐ FILES ๐
/usr/share/i18n/repertoiremapsโ Usual default repertoire map path. the home base, fr fr ๐ก
๐ STANDARDS ๐
POSIX.2. she's certified, she's official, periodt. โจ
๐ NOTES ๐
Repertoire maps are deprecated in favor of Unicode code points.
bestie I need you to hear me on this one: they're deprecated!! not gone, not broken, but the Unicode code points are the main character now and this is lowkey the supporting cast ๐
๐ EXAMPLES ๐
A mnemonic for the Euro sign can be defined as follows:
<Eu> <U20AC> EURO SIGN
look at her go ๐ถ ate that.
๐ฅ SEE ALSO ๐ฅ
go read those too, they're giving the same energy ๐ซถ
and that's the whole thing bestie!! this page is from Linux man-pages 6.20, dated 2025-05-17 โ shoutout to the man-pages girlies for keeping the lore alive ๐ธ๐ mwah, stan, bye!! ๐ โจ
๐ฆ where this page comes from
- arch rolling: man-pages 6.20-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
- nixpkgs unstable: man-pages 6.20
- ๐ the page's license: GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms