locale(5)

๐Ÿ’– locale(5) โ€” File Formats Manual ๐Ÿ’–

โœจ NAME โœจ

locale โ€” describes a locale definition file. Bestie, it's literally the blueprint for a locale. ๐Ÿ’…

๐ŸŒธ DESCRIPTION ๐ŸŒธ

The locale definition file contains all the information that localedef(1) needs to convert it into the binary locale database. No cap, that's the whole point. โœจ

The definition files consist of sections which each describe a locale category in detail. See locale(7) for additional details for these categories. ๐Ÿ‘‘

๐Ÿฆ‹ Syntax ๐Ÿฆ‹

The locale definition file starts with a header that may consist of the following keywords:

  • 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 (\). ๐Ÿช„
  • 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 (#). ๐Ÿ’ฌ

The locale definition has one part for each locale category. Each part can be copied from another existing locale or can be defined from scratch. If the category should be copied, the only valid keyword in the definition is copy followed by the name of the locale in double quotes which should be copied. The exceptions for this rule are LC_COLLATE and LC_CTYPE where a copy statement can be followed by locale-specific rules and selected overrides. ๐Ÿซถ

When defining a locale or a category from scratch, an existing system-provided locale definition file should be used as a reference to follow common glibc conventions. Trust the process. ๐Ÿ’–

๐ŸŒˆ Locale category sections ๐ŸŒˆ

The following category sections are defined by POSIX:

  • LC_CTYPE
  • LC_COLLATE
  • LC_MESSAGES
  • LC_MONETARY
  • LC_NUMERIC
  • LC_TIME

In addition, since glibc 2.2, the GNU C library supports the following nonstandard categories:

  • LC_ADDRESS
  • LC_IDENTIFICATION
  • LC_MEASUREMENT
  • LC_NAME
  • LC_PAPER
  • LC_TELEPHONE

See locale(7) for a more detailed description of each category. ๐Ÿ‘€

๐ŸŽ€ LC_ADDRESS ๐ŸŽ€

The definition starts with the string LC_ADDRESS in the first column.

The following keywords are allowed:

  • postal_fmt โ€” followed by a string containing field descriptors that define the format used for postal addresses in the locale. The following field descriptors are recognized:
    • %n โ€” Person's name, possibly constructed with the LC_NAME name_fmt keyword (since glibc 2.24).
    • %a โ€” Care of person, or organization.
    • %f โ€” Firm name.
    • %d โ€” Department name.
    • %b โ€” Building name.
    • %s โ€” Street or block (e.g., Japanese) name.
    • %h โ€” House number or designation.
    • %N โ€” Insert an end-of-line if the previous descriptor's value was not an empty string; otherwise, ignore.
    • %t โ€” Insert a space if the previous descriptor's value was not an empty string; otherwise, ignore.
    • %r โ€” Room number, door designation.
    • %e โ€” Floor number.
    • %C โ€” Country designation, from the country_post keyword.
    • %l โ€” Local township within town or city (since glibc 2.24).
    • %z โ€” Zip number, postal code.
    • %T โ€” Town, city.
    • %S โ€” State, province, or prefecture.
    • %c โ€” Country, as taken from data record.

Each field descriptor may have an 'R' after the '%' to specify that the information is taken from a Romanized version string of the entity. ๐Ÿ—บ๏ธ

  • country_name โ€” followed by the country name in the language of the current document (e.g., "Deutschland" for the de_DE locale).
  • country_post โ€” followed by the abbreviation of the country (for example, CEPT-MAILCODE codes).
  • country_ab2 โ€” followed by the two-letter abbreviation of the country (ISO 3166).
  • country_ab3 โ€” followed by the three-letter abbreviation of the country (ISO 3166).
  • country_num โ€” followed by the numeric country code (ISO 3166).
  • country_car โ€” followed by the international license plate country code.
  • country_isbn โ€” followed by the ISBN code (for books).
  • lang_name โ€” followed by the language name in the language of the current document.
  • lang_ab โ€” followed by the two-letter abbreviation of the language (ISO 639).
  • lang_term โ€” followed by the three-letter abbreviation of the language (ISO 639-2/T).
  • lang_lib โ€” followed by the three-letter abbreviation of the language for library use (ISO 639-2/B). Applications should in general prefer lang_term over lang_lib.

The LC_ADDRESS definition ends with the string END LC_ADDRESS. โœ…

๐Ÿ’… LC_CTYPE ๐Ÿ’…

The definition starts with the string LC_CTYPE in the first column.

The following keywords are allowed:

  • upper โ€” followed by a list of uppercase letters. The letters A through Z are included automatically. Characters also specified as cntrl, digit, punct, or space are not allowed.
  • lower โ€” followed by a list of lowercase letters. The letters a through z are included automatically. Characters also specified as cntrl, digit, punct, or space are not allowed.
  • alpha โ€” followed by a list of letters. All characters specified as either upper or lower are automatically included. Characters also specified as cntrl, digit, punct, or space are not allowed.
  • digit โ€” followed by the characters classified as numeric digits. Only the digits 0 through 9 are allowed. They are included by default in this class.
  • space โ€” followed by a list of characters defined as white-space characters. Characters also specified as upper, lower, alpha, digit, graph, or xdigit are not allowed. The characters <space>, <form-feed>, <newline>, <carriage-return>, <tab>, and <vertical-tab> are automatically included.
  • cntrl โ€” followed by a list of control characters. Characters also specified as upper, lower, alpha, digit, punct, graph, print, or xdigit are not allowed.
  • punct โ€” followed by a list of punctuation characters. Characters also specified as upper, lower, alpha, digit, cntrl, xdigit, or the <space> character are not allowed.
  • graph โ€” followed by a list of printable characters, not including the <space> character. The characters defined as upper, lower, alpha, digit, xdigit, and punct are automatically included. Characters also specified as cntrl are not allowed.
  • print โ€” followed by a list of printable characters, including the <space> character. The characters defined as upper, lower, alpha, digit, xdigit, punct, and the <space> character are automatically included. Characters also specified as cntrl are not allowed.
  • xdigit โ€” followed by a list of characters classified as hexadecimal digits. The decimal digits must be included followed by one or more set of six characters in ascending order. The following characters are included by default: 0 through 9, a through f, A through F.
  • blank โ€” followed by a list of characters classified as blank. The characters <space> and <tab> are automatically included.
  • charclass โ€” followed by a list of locale-specific character class names which are then to be defined in the locale.
  • toupper โ€” followed by a list of mappings from lowercase to uppercase letters. Each mapping is a pair of a lowercase and an uppercase letter separated with a , and enclosed in parentheses.
  • tolower โ€” followed by a list of mappings from uppercase to lowercase letters. If the keyword tolower is not present, the reverse of the toupper list is used.
  • map totitle โ€” followed by a list of mapping pairs of characters and letters to be used in titles (headings).
  • class โ€” followed by a locale-specific character class definition, starting with the class name followed by the characters belonging to the class.
  • charconv โ€” followed by a list of locale-specific character mapping names which are then to be defined in the locale.
  • outdigit โ€” followed by a list of alternate output digits for the locale.
  • map to_inpunct โ€” followed by a list of mapping pairs of alternate digits and separators for input digits for the locale.
  • map to_outpunct โ€” followed by a list of mapping pairs of alternate separators for output for the locale.
  • translit_start โ€” marks the start of the transliteration rules section. The section can contain the include keyword in the beginning followed by locale-specific rules and overrides. Any rule specified in the locale file will override any rule copied or included from other files. In case of duplicate rule definitions in the locale file, only the first rule is used.

A transliteration rule consist of a character to be transliterated followed by a list of transliteration targets separated by semicolons. The first target which can be presented in the target character set is used, if none of them can be used the default_missing character will be used instead. ๐Ÿ”ฅ

  • include โ€” in the transliteration rules section includes a transliteration rule file (and optionally a repertoire map file).
  • default_missing โ€” in the transliteration rules section defines the default character to be used for transliteration where none of the targets cannot be presented in the target character set.
  • translit_end โ€” marks the end of the transliteration rules.

The LC_CTYPE definition ends with the string END LC_CTYPE. ๐ŸŒŸ

๐Ÿ‘‘ LC_COLLATE ๐Ÿ‘‘

Note that glibc does not support all POSIX-defined options, only the options described below are supported (as of glibc 2.23). Periodt. ๐Ÿ’€

The definition starts with the string LC_COLLATE in the first column.

The following keywords are allowed:

  • coll_weight_max โ€” followed by the number representing used collation levels. This keyword is recognized but ignored by glibc.
  • collating-element โ€” followed by the definition of a collating-element symbol representing a multicharacter collating element.
  • collating-symbol โ€” followed by the definition of a collating symbol that can be used in collation order statements.
  • define โ€” followed by string to be evaluated in an ifdef string / else / endif construct.
  • reorder-after โ€” followed by a redefinition of a collation rule.
  • reorder-end โ€” this one marks the end of the redefinition of a collation rule. bye bestie ๐Ÿ‘‹
  • reorder-sections-after โ€” followed by a script name, and it reorders the listed scripts after that one.
  • reorder-sections-end โ€” marks the end of the reordering of sections. closure โœจ
  • script โ€” followed by a declaration of a script.
  • symbol-equivalence โ€” followed by a collating-symbol that's gonna be equivalent to another defined collating-symbol.

The collation rule definition starts with a line:

  • order_start โ€” followed by a list of keywords chosen from forward, backward, or position. The order definition is made of lines that describe the collation order, and it's terminated with the keyword order_end.

And the LC_COLLATE definition ends with the string END LC_COLLATE.


๐Ÿ’œ LC_IDENTIFICATION ๐Ÿ’œ

The definition starts with the string LC_IDENTIFICATION in the first column.

The following keywords are allowed:

  • title โ€” followed by the title of the locale document (e.g., "Maori language locale for New Zealand").
  • source โ€” followed by the name of the organization that maintains this document.
  • address โ€” followed by the address of the organization that maintains this document.
  • contact โ€” followed by the name of the contact person at the organization that maintains this document.
  • email โ€” followed by the email address of the person or organization that maintains this document.
  • tel โ€” followed by the telephone number (in international format) of the organization that maintains this document. As of glibc 2.24, this keyword is deprecated in favor of other contact methods. ๐Ÿซ 
  • fax โ€” followed by the fax number (in international format) of the organization that maintains this document. As of glibc 2.24, this keyword is deprecated in favor of other contact methods too. (fax?? in this economy??) ๐Ÿ’€
  • language โ€” followed by the name of the language to which this document applies.
  • territory โ€” followed by the name of the country/geographic extent to which this document applies.
  • audience โ€” followed by a description of the audience for which this document is intended.
  • application โ€” followed by a description of any special application for which this document is intended.
  • abbreviation โ€” followed by the short name for provider of the source of this document.
  • revision โ€” followed by the revision number of this document.
  • date โ€” followed by the revision date of this document.

Plus, for each of the categories defined by the document, there should be a line starting with the keyword category, followed by:

  1. a string that identifies this locale category definition,
  2. a semicolon, and
  3. one of the LC_* identifiers.

And the LC_IDENTIFICATION definition ends with the string END LC_IDENTIFICATION.


๐Ÿ’ฌ LC_MESSAGES ๐Ÿ’ฌ

The definition starts with the string LC_MESSAGES in the first column.

The following keywords are allowed:

  • yesexpr โ€” followed by a regular expression that describes possible yes-responses. (basically the "yeah bestie" detector โœจ)
  • noexpr โ€” followed by a regular expression that describes possible no-responses. (the "no thanks" detector ๐Ÿ™ˆ)
  • yesstr โ€” followed by the output string corresponding to "yes".
  • nostr โ€” followed by the output string corresponding to "no".

And the LC_MESSAGES definition ends with the string END LC_MESSAGES.


๐Ÿ“ LC_MEASUREMENT ๐Ÿ“

The definition starts with the string LC_MEASUREMENT in the first column.

The following keywords are allowed:

  • measurement โ€” followed by a number identifying the standard used for measurement. These values are recognized:
    • 1 โ€” Metric. ๐ŸŒ
    • 2 โ€” US customary measurements. ๐Ÿฆ…

And the LC_MEASUREMENT definition ends with the string END LC_MEASUREMENT.


๐Ÿ’ธ LC_MONETARY ๐Ÿ’ธ

The definition starts with the string LC_MONETARY in the first column.

The following keywords are allowed:

  • int_curr_symbol โ€” followed by the international currency symbol. This has to be a _4-character string_ containing the international currency symbol as defined by the ISO 4217 standard (three characters) followed by a separator.
  • currency_symbol โ€” followed by the local currency symbol.
  • mon_decimal_point โ€” followed by the single-character string that will be used as the decimal delimiter when formatting monetary quantities.
  • mon_thousands_sep โ€” followed by the single-character string that will be used as a group separator when formatting monetary quantities.
  • mon_grouping โ€” followed by a sequence of integers separated by semicolons that describe the formatting of monetary quantities. See grouping below for details. ๐Ÿ‘€
  • positive_sign โ€” followed by a string that's used to indicate a positive sign for monetary quantities.
  • negative_sign โ€” followed by a string that's used to indicate a negative sign for monetary quantities.
  • int_frac_digits โ€” followed by the number of fractional digits that should be used when formatting with the int_curr_symbol.
  • frac_digits โ€” followed by the number of fractional digits that should be used when formatting with the currency_symbol.
  • p_cs_precedes โ€” followed by an integer that indicates the placement of currency_symbol for a nonnegative formatted monetary quantity:
    • 0 โ€” the symbol succeeds the value.
    • 1 โ€” the symbol precedes the value.
  • p_sep_by_space โ€” followed by an integer that indicates the separation of currency_symbol, the sign string, and the value for a nonnegative formatted monetary quantity. These values are recognized:
    • 0 โ€” No space separates the currency symbol and the value.
    • 1 โ€” If the currency symbol and the sign string are adjacent, a space separates them from the value; otherwise a space separates the currency symbol and the value.
    • 2 โ€” If the currency symbol and the sign string are adjacent, a space separates them from the value; otherwise a space separates the sign string and the value.
  • n_cs_precedes โ€” followed by an integer that indicates the placement of currency_symbol for a negative formatted monetary quantity. The same values are recognized as for p_cs_precedes.
  • n_sep_by_space โ€” followed by an integer that indicates the separation of currency_symbol, the sign string, and the value for a negative formatted monetary quantity. The same values are recognized as for p_sep_by_space.
  • p_sign_posn โ€” followed by an integer that indicates where the positive_sign should be placed for a nonnegative monetary quantity:
    • 0 โ€” Parentheses enclose the quantity and the currency_symbol or int_curr_symbol.
    • 1 โ€” The sign string precedes the quantity and the currency_symbol or the int_curr_symbol.
    • 2 โ€” The sign string succeeds the quantity and the currency_symbol or the int_curr_symbol.
    • 3 โ€” The sign string precedes the currency_symbol or the int_curr_symbol.
    • 4 โ€” The sign string succeeds the currency_symbol or the int_curr_symbol.
  • n_sign_posn โ€” followed by an integer that indicates where the negative_sign should be placed for a negative monetary quantity. The same values are recognized as for p_sign_posn.
  • int_p_cs_precedes โ€” followed by an integer that indicates the placement of int_curr_symbol for a nonnegative internationally formatted monetary quantity. The same values are recognized as for p_cs_precedes.
  • int_n_cs_precedes โ€” followed by an integer that indicates the placement of int_curr_symbol for a negative internationally formatted monetary quantity. The same values are recognized as for p_cs_precedes.
  • int_p_sep_by_space โ€” followed by an integer that indicates the separation of int_curr_symbol, the sign string, and the value for a nonnegative internationally formatted monetary quantity. The same values are recognized as for p_sep_by_space.
  • int_n_sep_by_space โ€” followed by an integer that indicates the separation of int_curr_symbol, the sign string, and the value for a negative internationally formatted monetary quantity. The same values are recognized as for p_sep_by_space.
  • int_p_sign_posn โ€” followed by an integer that indicates where the positive_sign should be placed for a nonnegative internationally formatted monetary quantity. The same values are recognized as for p_sign_posn.
  • int_n_sign_posn โ€” followed by an integer that indicates where the negative_sign should be placed for a negative internationally formatted monetary quantity. The same values are recognized as for p_sign_posn.

And the LC_MONETARY definition ends with the string END LC_MONETARY.

ok that was a LOT of money words. hydrate. ๐Ÿ’ง but we ate, no crumbs.

๐ŸŽ€ LC_NAME ๐ŸŽ€

The definition starts with the string LC_NAME in the first column.

Various keywords are allowed, but only name_fmt is mandatory. The other keywords are only needed if there's a common convention to use the corresponding salutation in this locale. The allowed keywords are as follows:

  • name_fmt โ€” followed by a string containing field descriptors that define the format used for names in the locale. These field descriptors are recognized:
    • %f โ€” Family name(s).
    • %F โ€” Family names in uppercase.
    • %g โ€” First given name.
    • %G โ€” First given initial.
    • %l โ€” First given name with Latin letters.
    • %o โ€” Other shorter name.
    • %m โ€” Additional given name(s).
    • %M โ€” Initials for additional given name(s).
    • %p โ€” Profession.
    • %s โ€” Salutation, such as "Doctor".
    • %S โ€” Abbreviated salutation, such as "Mr." or "Dr.".
    • %d โ€” Salutation, using the FDCC-sets conventions.
    • %t โ€” If the preceding field descriptor resulted in an empty string, then the empty string, otherwise a space character.
  • name_gen โ€” followed by the general salutation for any gender. ๐ŸŒˆ
  • name_mr โ€” followed by the salutation for men.
  • name_mrs โ€” followed by the salutation for married women.
  • name_miss โ€” followed by the salutation for unmarried women.
  • name_ms โ€” followed by the salutation valid for all women. ๐Ÿ’…

And the LC_NAME definition ends with the string END LC_NAME.


๐Ÿ”ข LC_NUMERIC ๐Ÿ”ข

The definition starts with the string LC_NUMERIC in the first column.

The following keywords are allowed:

  • decimal_point โ€” then the single-character string that's the decimal delimiter when you're formatting numbers. It's giving "the dot" but make it โœจlocale-flavoredโœจ.
  • thousands_sep โ€” then the single-character string that's the group separator when formatting numbers. The comma, the space, whatever your locale's serving ๐Ÿ’….
  • grouping โ€” then a sequence of integers separated by semicolons that describe how numeric quantities get grouped together.

Each integer = the number of digits in a group. The first integer sets the size of the group sitting immediately to the left of the decimal delimiter. The integers after that define the groups marching leftward from the previous group. If the last integer is not -1, then the size of the previous group (if there even is one) just keeps getting reused for whatever digits are left. If the last integer is -1, then no more grouping happens, periodt.

The LC_NUMERIC definition wraps up with the string END LC_NUMERIC.

LC_PAPER ๐ŸŽ€

The definition kicks off with the string LC_PAPER in the first column.

These keywords are allowed:

  • height โ€” then the height, in millimeters, of the standard paper format.
  • width โ€” then the width, in millimeters, of the standard paper format.

And the LC_PAPER definition closes out with the string END LC_PAPER.


LC_TELEPHONE โ˜Ž๏ธ

The definition starts with the string LC_TELEPHONE in the first column.

Here's what's allowed:

  • tel_int_fmt โ€” then a string holding field descriptors that say what format you use to dial international numbers. These field descriptors are the ones that get recognized:
    • %a โ€” Area code without the nationwide prefix (that prefix is often "00").
    • %A โ€” Area code including the nationwide prefix.
    • %l โ€” Local number (within the area code).
    • %e โ€” Extension (to the local number).
    • %c โ€” Country code.
    • %C โ€” Alternate carrier service code used for dialing abroad.
    • %t โ€” If the preceding field descriptor produced an empty string, then the empty string; otherwise, a space character.
  • tel_dom_fmt โ€” then a string holding field descriptors that say what format you use to dial domestic numbers. The recognized field descriptors are exactly the same ones as for tel_int_fmt.
  • int_select โ€” then the prefix you use to call international phone numbers.
  • int_prefix โ€” then the prefix that other countries use to dial into this one.

The LC_TELEPHONE definition ends with the string END LC_TELEPHONE.


LC_TIME โฐ

The definition starts with the string LC_TIME in the first column.

The following keywords are allowed:

  • abday โ€” then a list of abbreviated names of the days of the week. The list begins with the first day of the week as specified by week (Sunday by default). Peep NOTES.
  • day โ€” then a list of names of the days of the week. The list begins with the first day of the week as specified by week (Sunday by default). Peep NOTES.
  • abmon โ€” then a list of abbreviated month names.
  • mon โ€” then a list of month names.
  • d_t_fmt โ€” then the appropriate date and time format (for syntax, go look at strftime(3)).
  • d_fmt โ€” then the appropriate date format (for syntax, strftime(3)).
  • t_fmt โ€” then the appropriate time format (for syntax, strftime(3)).
  • am_pm โ€” then the appropriate representation of the am and pm strings. Leave this empty for locales that don't do the whole AM/PM thing.
  • t_fmt_ampm โ€” then the appropriate time format (for syntax, strftime(3)) when you're on a 12h clock. Leave this empty for locales not using the AM/PM convention.
  • era โ€” then semicolon-separated strings that define how years get counted and displayed for each era in the locale. Each string looks like this:
direction:offset:start_date:end_date:era_name:era_format

The fields go like this:

  • direction โ€” Either + or -. + means the years closer to start_date have lower numbers than years closer to end_date. - means the opposite, bestie.
  • offset โ€” The number of the year closest to start_date in the era, corresponding to the %Ey descriptor (peep strptime(3)).
  • start_date โ€” The start of the era in the form yyyy/mm/dd. Years prior to AD 1 are represented as negative numbers.
  • end_date โ€” The end of the era in the form yyyy/mm/dd, or one of the two special values -* or +*. -* means the ending date is the beginning of time. +* means the ending date is the end of time. (Yes, really, packing infinity into two characters, slay.)
  • era_name โ€” The name of the era corresponding to the %EC descriptor (see strptime(3)).
  • era_format โ€” The format of the year in the era, corresponding to the %EY descriptor (see strptime(3)).
  • era_d_fmt โ€” then the format of the date in alternative era notation, corresponding to the %Ex descriptor (see strptime(3)).
  • era_t_fmt โ€” then the format of the time in alternative era notation, corresponding to the %EX descriptor (see strptime(3)).
  • era_d_t_fmt โ€” then the format of the date and time in alternative era notation, corresponding to the %Ec descriptor (see strptime(3)).
  • alt_digits โ€” then the alternative digits used for date and time in the locale.
  • week โ€” then a list of three values separated by semicolons: the number of days in a week (7 by default), a date for the beginning of the week (by default that's the one corresponding to Sunday), and the minimal length of the first week in the year (4 by default). About the start of the week: 19971130 shall be used for Sunday and 19971201 shall be used for Monday. Peep NOTES.
  • first_weekday (since glibc 2.2) โ€” then the number of the day from the day list that should show up as the first day of the week in calendar apps. The default value 1 corresponds to either Sunday or Monday, depending on what that second week list item says. Peep NOTES.
  • first_workday (since glibc 2.2) โ€” then the number of the first working day from the day list. The default value is 2. Peep NOTES.
  • cal_direction โ€” then a number value that tells you which direction calendar dates should be displayed in, like so:
    • 1 โ€” Left-right from top.
    • 2 โ€” Top-down from left.
    • 3 โ€” Right-left from top.
  • date_fmt โ€” then the appropriate date representation for date(1) (for syntax, see strftime(3)).

The LC_TIME definition ends with the string END LC_TIME.


๐Ÿ“ FILES ๐Ÿ“

  • /usr/lib/locale/locale-archive โ€” the usual default locale archive location.
  • /usr/share/i18n/locales โ€” the usual default path for locale definition files.

๐Ÿ“œ STANDARDS ๐Ÿ“œ

POSIX.2.


๐Ÿง  NOTES ๐Ÿง 

The collective GNU C library community wisdom, regarding abday, day, week, first_weekday, and first_workday, says the following over at https://sourceware.org/glibc/wiki/Locales:

  • The value of the second week list item specifies the base of the abday and day lists.
  • first_weekday specifies the offset of the first day-of-week in the abday and day lists.
  • For compatibility reasons, all glibc locales should set the value of the second week list item to 19971130 (Sunday) and base the abday and day lists appropriately, and set first_weekday and first_workday to 1 or 2, depending on whether the week and work week actually starts on Sunday or Monday for that locale. Compatibility really said "everyone hold hands" ๐Ÿค.

๐Ÿ‘€ SEE ALSO ๐Ÿ‘€

iconv(1), locale(1), localedef(1), localeconv(3), newlocale(3), setlocale(3), strftime(3), strptime(3), uselocale(3), charmap(5), charsets(7), locale(7), unicode(7), utf-8(7)


And that's a wrap on locale(5), bestie ๐Ÿ’– This lil masterpiece is from Linux man-pages 6.20, dated 2026-02-08 โ€” go hydrate and go set your locale correctly, mwah ๐Ÿซถ

๐Ÿ“ฆ 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