ContentsIndexPreviousNext

LC_ALL

This variable supports the transfer of double-byte character variables and string literals and has meaning only on 32-bit Windows systems that support double-byte characters (e.g. Asian Windows machines). It should not be set in other environments and is needed only if you are passing data to a COBOL program from another language, such as Visual Basic, and are using C$GETVARIANT or C$SETVARIANTBy using the LC_ALL configuration variable, you cause the runtime to set the locale to a particular value. There is only one situation in which the runtime detects the machine it is on and automatically sets the appropriate locale value, and that is on Japanese machines. Therefore, you do not need to set this variable on Japanese machines. The runtime automatically sets the locale, LC_ALL, to "Japanese_Japan.932".

The default value for this variable is "C". The C locale assumes that all characters are 1 byte and that their value is always less than 256. The value of LC_ALL is in the format:

language[_country[.code_page]]

or

.code_page

where "language" is one of the supported language strings, "country" is one of the supported country or region strings, and "code_page" is the Windows code page setting for the language and country. "country" and "code_page" are optional. For example, the following are all equivalent:

LC_ALL Japanese
LC_ALL Japanese_Japan
LC_ALL Japanese_Japan.932
LC_ALL .932

For Korean double-byte character support under Windows use:

LC_ALL Korean

For Chinese use:

LC_ALL Chinese

or

LC_ALL Chinese-simplified

or

LC_ALL Chinese-traditional

The following are the supported language strings:

Chinese
Chinese
"chinese"

Chinese
Chinese (simplified)
"chinese-simplified" or "chs"

Chinese
Chinese (traditional)
"chinese-traditional" or "cht"

Czech
Czech
"csy" or "czech"

Danish
Danish
"dan" or "danish"

Dutch
Dutch (Belgian)
"belgian", "dutch-belgian", or "nlb"

Dutch
Dutch (default)
"dutch" or "nld"

English
English (Australian)
"australian", "ena", or "english-aus"

English
English (Canadian)
"canadian", "enc", or "english-can"

English
English (default)
"english"

English
English (New Zealand)
"english-nz" or "enz"

English
English (UK)
"eng", "english-uk", or "uk"

English
English (USA)
"american", "american english", "american-english", "english-american", "english-us", "english-usa", "enu", "us", or "usa"

Finnish
Finnish
"fin" or "finnish"

French
French (Belgian)
"frb" or "french-belgian"

French
French (Canadian)
"frc" or "french-canadian"

French
French (default)
"fra" or "french"

French
French (Swiss)
"french-swiss" or "frs"

German
German (Austrian)
"dea" or "german-austrian"

German
German (default)
"deu" or "german"

German
German (Swiss)
"des", "german-swiss", or "swiss"

Greek
Greek
"ell" or "greek"

Hungarian
Hungarian
"hun" or "hungarian"

Icelandic
Icelandic
"icelandic" or "isl"

Italian
Italian (default)
"ita" or "italian"

Italian
Italian (Swiss)
"italian-swiss" or "its"

Japanese
Japanese
"japanese" or "jpn"

Korean
Korean
"kor" or "korean"

Norwegian
Norwegian (Bokmal)
"nor" or "norwegian-bokmal"

Norwegian
Norwegian (default)
"norwegian"

Norwegian
Norwegian (Nynorsk)
"non" or "norwegian-nynorsk"

Polish
Polish
"plk" or "polish"

Portuguese
Portuguese (Brazilian)
"portuguese-brazilian" or "ptb"

Portuguese
Portuguese (default)
"portuguese" or "ptg"

Russian
Russian (default)
"rus" or "russian"

Slovak
Slovak
"sky" or "slovak"

Spanish
Spanish (default)
"esp" or "spanish"

Spanish
Spanish (Mexican)
"esm" or "spanish-mexican"

Spanish
Spanish (Modern)
"esn" or "spanish-modern"

Swedish
Swedish
"sve" or "swedish"

Turkish
Turkish
"trk" or "turkish"

The following are the supported country/region strings:

Australia
"aus" or "australia"

Austria
"austria" or "aut"

Belgium
"bel" or "belgium"

Brazil
"bra" or "brazil"

Canada
"can" or "canada"

Czech
Republic "cze" or "czech"

Denmark
"denmark" or "dnk"

Finland
"fin" or "finland"

France
"fra" or "france"

Germany
"deu" or "germany"

Greece
"grc" or "greece"

Hong
Kong "hkg", "hong kong", or "hong-kong"

Hungary
"hun" or "hungary"

Iceland
"iceland" or "isl"

Ireland
"ireland" or "irl"

Italy
"ita" or "italy"

Japan
"japan" or "jpn"

Mexico
"mex" or "mexico"

Netherlands
"nld", "holland", or "netherlands"

New Zealand
"new zealand", "new-zealand", "nz", or "nzl"

Norway
"nor" or "norway"

Peoples Republic of China
"china", "chn", "pr china", or "pr-china"

Poland
"pol" or "poland"

Portugal
"prt" or "portugal"

Russia
"rus" or "russia"

Singapore
"sgp" or "singapore"

Slovak Repubic
"svk" or "slovak"

South Korea
"kor", "korea", "south korea", or "south-korea"

Spain
"esp" or "spain"

Sweden
"swe" or "sweden"

Switzerland
"che" or "switzerland"

Taiwan
"taiwan" or "twn"

Turkey
"tur" or "turkey"

United Kingdom
"britain", "england", "gbr", "great britain","uk", "united kingdom", or "united-kingdom"

United States of America
"america", "united states", "united-states", "us", or "usa"