1 | There is some confusion about the format of numeral fields;
|
---|
2 | it seems to me it is field dependant, as fields
|
---|
3 |
|
---|
4 | LOCALE_ILANGUAGE and LOCALE_IDEFAULTLANGUAGE use hexadecimal,
|
---|
5 | while LOCALE_ICOUNTRY, LOCALE_IDEFAULTCOUNTRY, LOCALE_IDEFAULTCODEPAGE
|
---|
6 | and LOCALE_IDEFAULTANSICODEPAGE use decimal.
|
---|
7 |
|
---|
8 | I'll appreciate info on the others numeric fields; and a confirmation
|
---|
9 | about the numeric fields I told above.
|
---|
10 |
|
---|
11 | For the alphanumeric fields the encoding used is the one used by MS-Windows
|
---|
12 | for that language (the one in LOCALE_IDEFAULTANSICODEPAGE).
|
---|
13 |
|
---|
14 | --
|
---|
15 |
|
---|
16 | Here 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 |
|
---|
43 | Pablo Saratxaga
|
---|
44 | <srtxg@chanae.alphanet.ch>
|
---|
45 |
|
---|