The numbers are there, but it isn't used!

by Michael S. Kaplan, published on 2012/05/16 07:01 -04:00, original URI: http://blogs.msdn.com/b/michkap/archive/2012/05/16/10305664.aspx


The question came in just the other day:

I noticed that in some locales the LOCAL_SNATIVEDIGITS have special digits, but the LOCALE_IDIGITSUBSTITUTION isn't set to use them.

What's up with that?

Yeah, we do that sometimes....

Kind of the opposite problem of when we turn digit substitution on them even when we are using U+0030 to U+0039.

I mean, in both cases digit substitution isn't ultimately done.

But either way we don't do useful work!

I don't know, really. I guess it is just kind of nice to have the digits that may be used by a locale be queryable....

Even if we don't use them ourselves.

Every once in a while I see an app that substitutes digits for those locales -- it is a great way to find people that do their own digit substitution but skip some of our settings.

Sharp eye noticing the issue, FWIW. :-)


no comments

go to newer or older post, or back to index or month or day