The SEDRIS Data Representation Model
APPENDIX C - Types
SE_Locale
/*
 * STRUCT: SE_Locale
 *
 *   This data type specifies the country and language information
 *   related to a piece of string data. All of the 2-character
 *   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
{
SE_Character language[2]; (notes)
SE_Character country[3]; (notes)
} SE_Locale;


Field Notes


language

 The language is specified using the 2-character codes defined
 in ISO 639.

country

 The country is specified using the 3-character codes defined
 in ISO 3166.



Prev: SE_Keyword_Type_Code. Next: SE_LOD_Data_Type.


Return to: Top of this Page, Type Index

Last updated: July 16, 2004 Copyright © 2004 SEDRIS