Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LOCALE_SSCRIPTS

Windows Vista and later: A string representing a list of scripts, using the 4-character notation used in ISO 15924. Each script name consists of four Latin characters and the list is arranged in alphabetical order with each name, including the last, followed by a semicolon.

GetLocaleInfo or GetLocaleInfoEx can be called with LCType set to LOCALE_SSCRIPTS as part of a strategy to mitigate security issues related to Internationalized Domain Names (IDNs). Here are some example values:

LocaleLocale/language nameValue
English (United States)en-USLatn;
Hindi (India)hi-INDeva;
Japanese (Japan)ja-JP

Windows 7 and later: Hani;Hira;Jpan;Kana;

Windows Vista: Hani;Hira;Kana;

 

A compound script value does not include the Latin script unless it is an essential part of the writing system used for the particular locale. Latin characters are often used in the context of locales for which they are not native, for example, for a foreign business name. In the example above for Hindi in India, the only script value is "Deva" (for "Devanagari"), although Latin characters can also appear in Hindi text. The VerifyScripts function has a special flag to address this case.

 

 

Community Additions

Show:
© 2014 Microsoft