source: trunk/src/kernel32/nls/README@ 10366

Last change on this file since 10366 was 7833, checked in by sandervl, 24 years ago

created

File size: 1.9 KB
Line 
1There is some confusion about the format of numeral fields;
2it seems to me it is field dependant, as fields
3
4LOCALE_ILANGUAGE and LOCALE_IDEFAULTLANGUAGE use hexadecimal,
5while LOCALE_ICOUNTRY, LOCALE_IDEFAULTCOUNTRY, LOCALE_IDEFAULTCODEPAGE
6and LOCALE_IDEFAULTANSICODEPAGE use decimal.
7
8I'll appreciate info on the others numeric fields; and a confirmation
9about the numeric fields I told above.
10
11For the alphanumeric fields the encoding used is the one used by MS-Windows
12for that language (the one in LOCALE_IDEFAULTANSICODEPAGE).
13
14--
15
16Here is how I completed some fields:
17
18* month/weekdays names: from the locales definitions of glibc and Java.
19* native monetary symbol: from the locales definitions of glibc.
20* monetary international symbols: from documents of my bank :)
21* DOS code page: from MS-DOS manuals, and some notes from IBM PC-DOS Y2K update
22* Windows code page: from Wine definitions of cp125[1234567]
23* Country abbreviation: From iso 3 letters country codes
24* Country Number: it seems to be the country code used for telephone nubers
25 (maybe Windows use it for PPP dialers etc ?)
26* Language abbreviation: it is the iso 2 letter language code + a third
27 letter to identify the country.
28* Language number: from the include files (*.h) of the FreeType librairies
29 (freetype is a library to manipulate True Type fonts, and those TTF
30 have several strings telling copyright, face name, etc; the strings
31 can be in several languages and for Microsoft platforms the Windows
32 language code numbers are used to identify language).
33 Look at ole/ole2nls.c for a comprehensive list of language code
34 numbers and iso 2 letters names.
35* Calendar type: I have not info on it, but I guess it is to identify
36 if the calendar is a gregorian one, or another (eg arabic traditional,
37 etc). As I have, for months names etc, only info on gragorian
38 calendars I set it to "1" for all files, as it seems to indicate
39 a gregorian calendar.
40
41--
42
43Pablo Saratxaga
44<srtxg@chanae.alphanet.ch>
45
Note: See TracBrowser for help on using the repository browser.