|
EDCS Reference Manual
Types EDCS_Locale |
|---|
/*
* STRUCT: EDCS_Locale
*
* This data type specifies the country and language information
* related to a piece of string data. All of the codes used in
* this type are in Latin-1, which maps to single byte characters
* in UTF-8.
*
* EXAMPLES:
* 1. country = {'u', 's', 'a'} language = {'e', 'n'}
* indicates United States English
* 2. country = {'f', 'r', 'a'} and language = {'f', 'r'}
* indicates France Francais.
*/
typedef struct
| EDCS_Character | language[2]; | 1 | |
| EDCS_Character | country[3]; | 2 |
The language is specified using the 2-character codes defined in ISO 639.
The country is specified using the 3-character codes defined in ISO 3166.
|