A country-specific locale is available for the German-speaking area. This locale is designated as “GERMANY” or LC_C_GERMANY
This locale differs from the C locale in the following ways:
LC_CTYPE
Characters X’FB’, X’4F’, X’FD’ and X’FF’ are classified as lowercase characters (ä, ö, ü, ß).
Characters X’BB’, X’BC’ and X’BD’ are classified as uppercase characters (Ä, Ö, Ü).
When lowercase characters are converted to uppercase characters (toupper
, strupper
) the X’FF’ character (ß) remains unchanged.
LC_MONETARY
International currency symbol (int_curr_symbol): “DEM”
Local currency symbol (currency_symbol): “DM”
Decimal point (mon_decimal_point): “,”
LC_TIME
German is used for the days of the week and the months of the year.
The format for the date complies with the standard conventions for German-speaking countries:
<weekday name>, <day of month>.<name of month> <year>
e.g. Donnerstag, 25.Juli 1991
LC_COLLATE
The sort sequence of the character set affects the behavior of the strcoll,strxfrm
, wcscoll
and wcsxfrm
functions. For the “GERMANY” locale the sort sequence corresponds to the EBCDIC value of each characters shown in the following table.
Sort sequence in accordance with the EBCDIC value
\0 | ^ | j | B | W |
\t | , | k | C | X |
\v | % | l | D | Y |
\f | _ | m | E | Z |
\r | > | n | F | 0 |
\n | ? | o | G | 1 |
'BLANK' | : | p | H | 2 |
` | # | q | I | 3 |
. | @ | r | J | 4 |
< | ' | s | K | 5 |
( | = | t | L | 6 |
+ | " | u | M | 7 |
| | a | v | N | 8 |
& | b | w | O | 9 |
! | c | x | P | { |
$ | d | y | Q | } |
* | e | z | R | ~ |
) | f | [ | S | |
; | g | \ | T | |
- | h | ] | U | |
/ | i | A | V |