LOCALE= Values and Default Settings for ENCODING, PAPERSIZE, DFLANG, and DATESTYLE Options

The following table lists the valid LOCALE= values, specified by using the SAS name or the Posix name. The alias name is also listed. Some locales do not have an alias.
Values for the LOCALE= System Option
SAS Name
Posix Locale
Aliases
Afrikaans_SouthAfrica
af_ZA
Afrikaans
af
Albanian_Albania
sq_AL
Albanian
sq
Arabic_Algeria
ar_DZ
Arabic_Bahrain
ar_BH
Arabic_Egypt
ar_EG
Arabic_India
ar_IN
Arabic_Iraq
ar_IQ
Arabic_Jordan
ar_JO
Arabic_Kuwait
ar_KW
Arabic_Lebanon
ar_LB
Arabic_Libya
ar_LY
Arabic_Morocco
ar_MA
Arabic_Oman
ar_OM
Arabic_Qatar
ar_QA
Arabic_SaudiArabia
ar_SA
Arabic_Sudan
ar_SD
Arabic_Syria
ar_SY
Arabic_Tunisia
ar_TN
Arabic_UnitedArabEmirates
ar_AE
Arabic
ar
Arabic_Yemen
ar_YE
Bengali_India
bn_IN
Bengali
bn
Bosnian_BosniaHerzegovina
bs_BA
Bosnian
bs
Bulgarian_Bulgaria
bg_BG
Bulgarian
bg
Byelorussian_Belarus
be_BY
Byelorussian
Belarusian
Byelorussian_Belarus
be
Catalan_Spain
ca_ES
Catalan
ca
Chinese_China
zh_CN
Chinese
zh
Chinese_HongKong
zh_HK
Chinese_Macau
zh_MO
Chinese_Singapore
zh_SG
Chinese_Taiwan
zh_TW
Cornish_UnitedKingdom
kw_GB
Cornish
kw
Croatian_BosniaHerzegovina
hr_BA
Croatian_Croatia
hr_HR
Croatian
hr
Czech_CzechRepublic
cs_CZ
Czech
cs
Danish_Denmark
da_DK
Danish
da
Dutch_Belgium
nl_BE
Dutch_Netherlands
nl_NL
Dutch
nl
English_Australia
en_AU
English_Belgium
en_BE
English_Botswana
en_BW
English_Canada
en_CA
English_Caribbean
en_CB
English_HongKong
en_HK
English_India
en_IN
English_Ireland
en_IE
English_Jamaica
en_JM
English_NewZealand
en_NZ
English_Philippines
en_PH
English_Singapore
en_SG
English_SouthAfrica
en_ZA
English_UnitedKingdom
en_GB
English_UnitedStates
en_US
English
en
English_Zimbabwe
en_ZW
Estonian_Estonia
et_EE
Estonian
et
Faroese_FaroeIslands
fo_FO
Faroese
fo
Finnish_Finland
fi_FI
Finnish
fi
French_Belgium
fr_BE
French_Canada
fr_CA
French_France
fr_FR
French
fr
French_Luxembourg
fr_LU
French_Switzerland
fr_CH
German_Austria
de_AT
German_Germany
de_DE
German
de
German_Liechtenstein
de_LI
German_Luxembourg
de_LU
German_Switzerland
de_CH
Greek_Greece
el_GR
Greek
el
Greenlandic_Greenland
kl_GL
Greenlandic
kl
Hebrew_Israel
he_IL
Hebrew
he
Hindi_India
hi_IN
Hindi
hi
Hungarian_Hungary
hu_HU
Hungarian
hu
Icelandic_Iceland
is_IS
Icelandic
is
Indonesian_Indonesia
id_ID
Indonesian
id
Italian_Italy
it_IT
Italian
it
Italian_Switzerland
it_CH
Japanese_Japan
ja_JP
Japanese
ja
Korean_Korea
ko_KR
Korean
ko
Latvian_Latvia
lv_LV
Latvian
lv
Lithuanian_Lithuania
lt_LT
Lithuanian
lt
Macedonian_Macedonia
mk_MK
Macedonian
mk
Malay_Malaysia
ms_MY
Malay
ms
Maltese_Malta
mt_MT
Maltese
mt
ManxGaelic_UnitedKingdom
gv_GB
ManxGaelic
gv
Marathi_India
mr_IN
Marathi
mr
NorwegianBokmal_Norway
nb_NO
NorwegianBokmal
nb
NorwegianNynorsk_Norway
nn_NO
NorwegianNynorsk
nn
Norwegian_Norway
no_NO
Norwegian
no
Persian_India
fa_IN
Persian_Iran
fa_IR
Persian
fa
Polish_Poland
pl_PL
Polish
pl
Portuguese_Brazil
pt_BR
Portuguese_Portugal
pt_PT
Portuguese
pt
Romanian_Romania
ro_RO
Romanian
ro
Russian_Russia
ru_RU
Russian
ru
Russian_Ukraine
ru_UA
Serbian_BosniaHerzegovina
sr_BA
Serbian_Montenegro
sr_ME
Serbian_Serbia
sr_RS
Serbian
sr
Serbian_Yugoslavia
sr_YU
SerbianLatin_BosniaHerzegovina
sh_BA
SerbianLatin_Montenegro
sh_ME
SerbianLatin_Serbia
sh_RS
SerbianLatin
sh
Slovak_Slovakia
sk_SK
Slovak
Slovakian
Slovakian_Slovakia
sk
Slovenian_Slovenia
sl_SI
Slovenian
sl
Spanish_Argentina
es_AR
Spanish_Bolivia
es_BO
Spanish_Chile
es_CL
Spanish_Colombia
es_CO
Spanish_CostaRica
es_CR
Spanish_DominicanRepublic
es_DO
Spanish_Ecuador
es_EC
Spanish_ElSalvador
es_SV
Spanish_Guatemala
es_GT
Spanish_Honduras
es_HN
Spanish_Mexico
es_MX
Spanish_Nicaragua
es_NI
Spanish_Panama
es_PA
Spanish_Paraguay
es_PY
Spanish_Peru
es_PE
Spanish_PuertoRico
es_PR
Spanish_Spain
es_ES
Spanish
es
Spanish_UnitedStates
es_US
Spanish_Uruguay
es_UY
Spanish_Venezuela
es_VE
Swedish_Sweden
sv_SE
Swedish
sv
Tamil_India
ta_IN
Tamil
ta
Telugu_India
te_IN
Telugu
te
Thai_Thailand
th_TH
Thai
th
Turkish_Turkey
tr_TR
Turkish
tr
Ukrainian_Ukraine
uk_UA
Ukrainian
uk
Vietnamese_Vietnam
vi_VN
Vietnamese
vi
The following table lists the valid Posix values and the default settings for the ENCODING= option, by operating environment. The settings for DFLANG, DATESTYLE, and PAPERSIZE system options are set automatically.
Here is an example:
sas9 -locale arabic_algeria
When the Arabic_Algeria LOCALE= value is specified, corresponding default settings for the system options are as follows:
DFLANG=English
DATESTYLE=DMY
PAPERSIZE=A4
Default Values for the ENCODING, DFLANG, DATESTYLE, and PAPERSIZE System Options Based on the LOCALE= System Option
Posix Locale
Windows Encoding
UNIX Encoding
z/OS Encoding
DFLANG=
DATESTYLE=
PAPERSIZE=
af_ZA
wlatin1
latin1
open_ed-1047
English
YMD
A4
ar_AE
warabic
arabic
open_ed-425
English
DMY
A4
ar_BH
warabic
arabic
open_ed-425
English
DMY
A4
ar_DZ
warabic
arabic
open_ed-425
English
DMY
A4
ar_EG
warabic
arabic
open_ed-425
English
DMY
A4
ar_IN
warabic
arabic
open_ed-425
English
DMY
A4
ar_IQ
warabic
arabic
open_ed-425
English
DMY
A4
ar_JO
warabic
arabic
open_ed-425
English
DMY
A4
ar_KW
warabic
arabic
open_ed-425
English
DMY
A4
ar_LB
warabic
arabic
open_ed-425
English
DMY
A4
ar_LY
warabic
arabic
open_ed-425
English
DMY
A4
ar_MA
warabic
arabic
open_ed-425
English
DMY
A4
ar_OM
warabic
arabic
open_ed-425
English
DMY
A4
ar_QA
warabic
arabic
open_ed-425
English
DMY
A4
ar_SA
warabic
arabic
open_ed-425
English
DMY
A4
ar_SD
warabic
arabic
open_ed-425
English
DMY
A4
ar_SY
warabic
arabic
open_ed-425
English
DMY
A4
ar_TN
warabic
arabic
open_ed-425
English
DMY
A4
ar_YE
warabic
arabic
open_ed-425
English
DMY
A4
be_BY
wcyrillic
cyrillic
open_ed-1025
English
DMY
A4
bg_BG
wcyrillic
cyrillic
open_ed-1025
English
YMD
A4
bn_IN
wlatin1
latin1
open_ed-1047
English
DMY
A4
ca_ES
wlatin1
latin1
open_ed-1148
English
DMY
A4
cs_CZ
wlatin2
latin2
open_ed-870
Czech
DMY
A4
da_DK
wlatin1
latin9
open_ed-1142
Danish
DMY
A4
de_AT
wlatin1
latin9
open_ed-1141
German
DMY
A4
de_CH
wlatin1
latin9
open_ed-1148
Swiss_
German
DMY
A4
de_DE
wlatin1
latin9
open_ed-1141
German
DMY
A4
de_LI
wlatin1
latin9
open_ed-1141
German
DMY
A4
de_LU
wlatin1
latin9
open_ed-1141
German
DMY
A4
el_GR
wgreek
greek
open_ed-875
English
DMY
A4
en_AU
wlatin1
latin1
open_ed-1047
English
DMY
A4
en_BE
wlatin1
latin9
open_ed-1148
English
DMY
A4
en_BW
wlatin1
latin1
open_ed-1047
English
DMY
A4
en_CA
wlatin1
latin1
open_ed-1047
English
DMY
letter
en_CB
wlatin
latin1
open_ed-1047
English
MDY
letter
en_GB
wlatin1
latin9
open_ed-1146
English
DMY
A4
en_HK
wlatin1
latin9
open_ed-1146
English
DMY
A4
en_IE
wlatin1
latin9
open_ed-1146
English
DMY
A4
en_IN
wlatin1
latin9
open_ed-1146
English
DMY
A4
en_JM
wlatin1
latin1
open_ed-1047
English
DMY
letter
en_NZ
wlatin1
latin1
open_ed-1047
English
DMY
A4
en_PH
wlatin1
latin1
open_ed-1047
English
MDY
A4
en_SG
wlatin1
latin9
open_ed-1146
English
DMY
A4
en_US
wlatin1
latin1
open_ed-1047
English
MDY
A4
en_ZA
wlatin1
latin1
open_ed-1047
English
DMY
A4
en_ZW
wlatin1
latin1
open_ed-1047
English
DMY
A4
es_AR
wlatin1
latin1
open_ed-1047
Spanish
DMY
letter
es_BO
wlatin1
latin1
open_ed-1047
Spanish
DMY
letter
es_CL
wlatin1
latin1
open_ed-1047
Spanish
DMY
letter
es_CO
wlatin1
latin1
open_ed-1047
Spanish
DMY
letter
es_CR
wlatin1
latin1
open_ed-1047
Spanish
DMY
letter
es_DO
wlatin1
latin1
open_ed-1047
Spanish
DMY
letter
es_EC
wlatin1
latin1
open_ed-1047
Spanish
DMY
letter
es_ES
wlatin1
latin9
open_ed-1145
Spanish
DMY
A4
es_GT
wlatin1
latin1
open_ed-1047
Spanish
DMY
letter
es_HN
wlatin1
latin1
open_ed-1047
Spanish
MDY
letter
es_MX
wlatin1
latin1
open_ed-1047
Spanish
DMY
letter
es_NI
wlatin1
latin1
open_ed-1047
Spanish
MDY
letter
es_PA
wlatin1
latin1
open_ed-1047
Spanish
MDY
letter
es_PE
wlatin1
latin1
open_ed-1047
Spanish
DMY
letter
es_PR
wlatin1
latin1
open_ed-1047
Spanish
MDY
letter
es_PY
wlatin1
latin1
open_ed-1047
Spanish
DMY
letter
es_SV
wlatin1
latin1
open_ed-1047
Spanish
MDY
letter
es_US
wlatin1
latin1
open_ed-1047
Spanish
DMY
letter
es_UY
wlatin1
latin1
open_ed-1047
Spanish
DMY
A4
es_VE
wlatin1
latin1
open_ed-1047
Spanish
DMY
letter
et_EE
wbaltic
latin6
open_ed-1122
English
DMY
A4
fa_IN
warabic
arabic
open_ed-1097
English
YMD
A4
fa_IR
warabic
arabic
open_ed-1097
English
YMD
A4
fi_FI
wlatin1
latin9
open_ed-1143
Finnish
DMY
A4
fo_FO
wlatin1
latin1
open_ed-1047
English
DMY
A4
fr_BE
wlatin1
latin9
open_ed-1148
French
DMY
A4
fr_CA
wlatin1
latin1
open_ed-1047
French
DMY
letter
fr_CH
wlatin1
latin9
open_ed-1148
Swiss_French
DMY
A4
fr_FR
wlatin1
latin9
open_ed-1147
French
DMY
A4
fr-LU
wlatin1
latin9
open_ed-1147
French
DMY
A4
gv_GB
wlatin1
latin8
open_ed-1148
English
DMY
A4
he_IL
whebrew
hebrew
open_ed-424
English
DMY
A4
hi_IN
pciscii806
latin1
open_ed-1137
English
DMY
A4
hr_HR
wlatin2
latin2
open_ed-870
Croatian
YMD
A4
hu_HU
wlatin2
latin2
open_ed-870
Hungarian
YMD
A4
is_IS
wlatin1
latin1
open_ed-1047
English
DMY
A4
id_ID
wlatin1
latin1
open_ed-1047
English
DMY
A4
it_CH
wlatin1
latin9
open_ed-1148
Italian
DMY
A4
it_IT
wlatin1
latin9
open_ed-1144
Italian
DMY
A4
ja_JP
shift-jis
euc-jp, shift-jis(*)
ibm-939
Japanese
YMD
A4
kl_GL
wlatin1
latin1
open_ed-1047
English
DMY
A4
ko_KR
euc-kr
euc-kr
ibm-933
Locale
YMD
A4
kw_GB
wlatin1
latin1
open_ed-1148
English
DMY
A4
lt_LT
wbaltic
latin6
open_ed-1112
English
YMD
A4
lv_LV
wbaltic
latin6
open_ed-1112
English
YMD
A4
mk_MK
wcyrillic
cyrillic
open_ed-1154
English
DMY
A4
mr_IN
pciscii806
latin1
open_ed-1137
English
DMY
A4
ms_MY
wlatin1
latin1
open_ed-1047
English
DMY
A4
mt_MT
wlatin1
latin3
open_ed-905
English
DMY
A4
nb_NO
wlatin1
latin9
open_ed-1142
Norwegian
DMY
A4
nl_BE
wlatin1
latin1
open_ed-1148
Dutch
DMY
A4
nl_NL
wlatin1
latin1
open_ed-1140
Dutch
DMY
A4
nn_NO
wlatin1
latin9
open_ed-1142
Norwegian
DMY
A4
no_NO
wlatin1
latin9
open_ed-1142
Norwegian
DMY
A4
pl_PL
wlatin2
latin2
open_ed-870
Polish
YMD
A4
pt_BR
wlatin1
latin1
open_ed-275
Portuguese
DMY
letter
pt_PT
wlatin1
latin1
open_ed-1140
Portuguese
DMY
A4
ro_RO
wlatin2
latin2
open_ed-870
English
DMY
A4
ru_RU
wcyrillic
cyrillic
open_ed-1025
Russian
DMY
A4
ru_UA
wcyrillic
cyrillic
open_ed-1154
Russian
DMY
A4
sh_YU
wlatin2
latin2
open_ed-870
English
DMY
A4
sk_SK
wlatin2
latin2
open_ed-870
English
DMY
A4
sl_SL
wlatin2
latin2
open_ed-870
Slovenian
YMD
A4
sr_YU
wcyrillic
cyrillic
open_ed-1025
English
DMY
A4
sq_AL
wlatin2
latin2
open_ed-1153
English
YMD
A4
sv_SE
wlatin1
latin9
open_ed-1143
Swedish
YMD
A4
ta_IN
wlatin1
latin1
open_ed-1047
English
DMY
A4
te_IN
wlatin1
latin1
open_ed-1047
English
DMY
A4
th_TH
pcoem874
thai
open_ed-1160
English
DMY
A4
tr_TR
wturkish
latin5
open_ed-1026
English
DMY
A4
uk_UA
wcyrillic
cyrillic
open_ed-1025
English
DMY
A4
vi_VN
wvietnamese
latin1
open_ed-1164
English
DMY
A4
zh_CN
euc-cn
euc-cn
ibm-935
Locale
YMD
A4
zh_HK
ms-950
euc-tw, ms-950 (*)
ibm-937
Locale
YMD
A4
zh_MO
ms-950
euc-tw, mis-950 (*)
ibm-937
Locale
YMD
A4
zh_SG
euc-cn
euc-cn
ibm-935
Locale
DMY
A4
zh_TW
ms-950
euc-tw, ms-950 (*)
ibm-937
Locale
YMD
A4
FOOTNOTE 1: (*) depend on the platform[return]