Επεξεργασία

Κοινή χρήση μέσω


LOCALE_IDIGITSUBSTITUTION

Windows 2000: The shape of digits. For example, Arabic, Thai, and Indic digits have classical shapes different from European digits. For locales with LOCALE_SNATIVEDIGITS specified as values other than ASCII 0-9, this value specifies whether preference should be given to those other digits for display purposes. For example, if a value of 2 is chosen, the digits specified by LOCALE_SNATIVEDIGITS are always used. If a 1 is chosen, the ASCII 0-9 digits are always used. If a 0 is chosen, ASCII is used in some circumstances and the digits specified by LOCALE_SNATIVEDIGITS are used in others, depending on the context.

Value Meaning
0 Context-based substitution. Digits are displayed based on the previous text in the same output. European digits follow Latin scripts, Arabic-Indic digits follow Arabic text, and other national digits follow text written in various other scripts. When there is no preceding text, the locale and the displayed reading order determine digit substitution, as shown in the following table.
Locale Reading order Digits used
Arabic Right-to-left Arabic-Indic
Thai Left-to-right Thai digits
All others Any No substitution used

 

1 No substitution used. Full Unicode compatibility.
2 Native digit substitution. National shapes are displayed according to LOCALE_SNATIVEDIGITS.