1escape_char /
2comment_char %
3% Locale for C locale in UTF-8
4
5LC_IDENTIFICATION
6title      "C locale"
7source     ""
8address    ""
9contact    ""
10email      "bug-glibc-locales@gnu.org"
11tel        ""
12fax        ""
13language   ""
14territory  ""
15revision   "2.1"
16date       "2022-01-30"
17category  "i18n:2012";LC_IDENTIFICATION
18category  "i18n:2012";LC_CTYPE
19category  "i18n:2012";LC_COLLATE
20category  "i18n:2012";LC_TIME
21category  "i18n:2012";LC_NUMERIC
22category  "i18n:2012";LC_MONETARY
23category  "i18n:2012";LC_MESSAGES
24category  "i18n:2012";LC_PAPER
25category  "i18n:2012";LC_NAME
26category  "i18n:2012";LC_ADDRESS
27category  "i18n:2012";LC_TELEPHONE
28category  "i18n:2012";LC_MEASUREMENT
29END LC_IDENTIFICATION
30
31LC_CTYPE
32% Include only the i18n character type classes without any of the
33% transliteration that i18n uses by default.
34copy "i18n_ctype"
35
36% Include the neutral transliterations.  The builtin C and
37% POSIX locales have +1600 transliterations that are built into
38% the locales, and these are a superset of those.
39translit_start
40include "translit_neutral";""
41% We must use '?' for default_missing because the transliteration
42% framework includes it directly into the output and so it must
43% be compatible with ASCII if that is the target character set.
44default_missing <U003F>
45translit_end
46
47% Include the transliterations that can convert combined characters.
48% These are generally expected by users.
49translit_start
50include "translit_combining";""
51translit_end
52
53END LC_CTYPE
54
55LC_COLLATE
56% The keyword 'codepoint_collation' in any part of any LC_COLLATE
57% immediately discards all collation information and causes the
58% locale to use strcmp/wcscmp for collation comparison.  This is
59% exactly what is needed for C (ASCII) or C.UTF-8.
60codepoint_collation
61END LC_COLLATE
62
63LC_MONETARY
64
65% This is the 14652 i18n fdcc-set definition for the LC_MONETARY
66% category (except for the int_curr_symbol and currency_symbol, they are
67% empty in the 14652 i18n fdcc-set definition and also empty in
68% glibc/locale/C-monetary.c.).
69int_curr_symbol     ""
70currency_symbol     ""
71mon_decimal_point   ""
72mon_thousands_sep   ""
73mon_grouping        -1
74positive_sign       ""
75negative_sign       ""
76int_frac_digits     -1
77frac_digits         -1
78p_cs_precedes       -1
79int_p_sep_by_space  -1
80p_sep_by_space      -1
81n_cs_precedes       -1
82int_n_sep_by_space  -1
83n_sep_by_space      -1
84p_sign_posn         -1
85n_sign_posn         -1
86%
87END LC_MONETARY
88
89LC_NUMERIC
90% This is the POSIX Locale definition for
91% the LC_NUMERIC category.
92%
93decimal_point   "."
94thousands_sep   ""
95grouping        -1
96END LC_NUMERIC
97
98LC_TIME
99% This is the POSIX Locale definition for the LC_TIME category with the
100% exception that time is per ISO 8601 and 24-hour.
101%
102% Abbreviated weekday names (%a)
103abday       "Sun";"Mon";"Tue";"Wed";"Thu";"Fri";"Sat"
104
105% Full weekday names (%A)
106day         "Sunday";"Monday";"Tuesday";"Wednesday";"Thursday";/
107            "Friday";"Saturday"
108
109% Abbreviated month names (%b)
110abmon       "Jan";"Feb";"Mar";"Apr";"May";"Jun";"Jul";"Aug";"Sep";/
111            "Oct";"Nov";"Dec"
112
113% Full month names (%B)
114mon         "January";"February";"March";"April";"May";"June";"July";/
115            "August";"September";"October";"November";"December"
116
117% Week description, consists of three fields:
118% 1. Number of days in a week.
119% 2. Gregorian date that is a first weekday (19971130 for Sunday, 19971201 for Monday).
120% 3. The weekday number to be contained in the first week of the year.
121%
122% ISO 8601 conforming applications should use the values 7, 19971201 (a
123% Monday), and 4 (Thursday), respectively.
124%
125% This field is consciously aligned with the builtin C/POSIX locale.
126week    7;19971130;4
127first_weekday	1
128first_workday	2
129
130% Appropriate date and time representation (%c)
131d_t_fmt "%a %b %e %H:%M:%S %Y"
132
133% Appropriate date representation (%x)
134d_fmt   "%m//%d//%y"
135
136% Appropriate time representation (%X)
137t_fmt   "%H:%M:%S"
138
139% Appropriate AM/PM time representation (%r)
140t_fmt_ampm "%I:%M:%S %p"
141
142% Equivalent of AM/PM (%p)
143am_pm	"AM";"PM"
144
145% Appropriate date representation (date(1))
146date_fmt	"%a %b %e %H:%M:%S %Z %Y"
147END LC_TIME
148
149LC_MESSAGES
150% This is the POSIX Locale definition for
151% the LC_NUMERIC category.
152%
153yesexpr "^[yY]"
154noexpr  "^[nN]"
155yesstr  ""
156nostr   ""
157END LC_MESSAGES
158
159LC_PAPER
160% This is the ISO/IEC 14652 "i18n" definition for
161% the LC_PAPER category.
162% (A4 paper, this is also used in the built in C/POSIX
163% locale in glibc/locale/C-paper.c)
164height   297
165width    210
166END LC_PAPER
167
168LC_NAME
169% This is the ISO/IEC 14652 "i18n" definition for
170% the LC_NAME category.
171% (also used in the built in C/POSIX locale in glibc/locale/C-name.c)
172name_fmt    "%p%t%g%t%m%t%f"
173END LC_NAME
174
175LC_ADDRESS
176% This is the ISO/IEC 14652 "i18n" definition for
177% the LC_ADDRESS category.
178% (also used in the built in C/POSIX locale in glibc/locale/C-address.c)
179postal_fmt    "%a%N%f%N%d%N%b%N%s %h %e %r%N%C-%z %T%N%c%N"
180% The abbreviated 2 char and 3 char should be set to empty strings to
181% match the C/POSIX locale.
182country_ab2   ""
183country_ab3   ""
184END LC_ADDRESS
185
186LC_TELEPHONE
187% This is the ISO/IEC 14652 "i18n" definition for
188% the LC_TELEPHONE category.
189% "+%c %a %l"
190tel_int_fmt    "+%c %a %l"
191% (also used in the built in C/POSIX locale in glibc/locale/C-telephone.c)
192END LC_TELEPHONE
193
194LC_MEASUREMENT
195% This is the ISO/IEC 14652 "i18n" definition for
196% the LC_MEASUREMENT category.
197% (same as in the built in C/POSIX locale in glibc/locale/C-measurement.c)
198%metric
199measurement    1
200END LC_MEASUREMENT
201