4 4 Localization<locale.h> <locale.h>
C has become an international language. Users of the language outside the United States have been forced to deal with the various Americanisms built into the standard library routines.
Areas affected by international considerations include:
In English, each letter has an upper-case and lower-case form. The German ``sharp S'', ß, occurs only in lower-case. European French usually omits diacriticals on upper-case letters. Some languages do not have the concept of two cases.
Various common date formats include
1776-07-04 ISO Format4.7.76
7/4/76 customary U.S. usage
4.VII.76 Italian usage
76186 Julian date (YYDDD)
04JUL76 airline usage
Thursday, July 4, 1776 full U.S. format
Donnerstag, 4. Juli 1776 full German format
Time formats are also quite diverse:
3:30 PM customary U.S. and British format1530 U.S. military format
15h.30 Italian usage
15.30 German usage
15:30 common European usage
The localization features of the Standard are based on these principles:
4 4 1