Sorting it all Out Michael Kaplan's random stuff of dubious value Be sure to read the disclaimer here first!
So the thing about Digit Substitution is that it is generally an all or nothing feature.
You either have some special digits and you make the change to support them, or you have no special digits and you choose to not support them.
Oh yeah, and sometimes you occasionally have no special digits yet you change to them anyway.
That third case is kind of a bug, previously described in A difference that makes no difference makes a blog.
Ok, so you have these two settings:
LOCALE_SNATIVEDIGITS:
Native equivalents of ASCII 0 through 9. The maximum number of characters allowed for this string is eleven, including a terminating null character. For example, Arabic uses "٠١٢٣٤٥ ٦٧٨٩". See also LOCALE_IDIGITSUBSTITUTION.
LOCALE_IDIGITSUBSTITUTION:
and the three options:
I assume many of my readers know enough about logic to suddenly see the case we've never gotten into before....
Interesting? I'll tell you, I think so.
If we did cover this case, where would we use it?
Would it be a bug like the third case?
Discuss amongst yourselves; tomorrow I'll jump in with my thoughts....
Part 1 of this two part series can be found at The unused case case (i.e. the case of the unused case