Locale Settings II
LC_CTYPE locale variable
The LC_CTYPE locale variable can be assigned a locale value using the following syntax:
language_territory.codeset @modifier
This syntax uses these values:
• language
Specifies the ISO 639 language code to be used (specified in lowercase)
• territory
Specifies the ISO 3166 country code to be used (specified in uppercase)
• codeset
Specifies the character set to be used
• modifier
Specifies other locale attributes, such as dialect or currency
Consider the following examples:
• en_US
The language and territory for English in the United States
• en_CA
The language and territory for English in Canada
• fr_CA
The language and territory for French Canadian
You can also specify an encoding in the locale. For example, you could use
en_US.UTF-8
to configure a default locale of U.S. English using UTF-8 character encoding (also known as
Unicode encoding).
LX0-104 Exam Objectives (M)
No comments:
Post a Comment