It will take putting your NADS out in front to make a diference

by Michael S. Kaplan, published on 2011/05/12 16:02 +02:00, original URI: http://blogs.msdn.com/b/michkap/archive/2011/05/12/10163685.aspx


Something very "Beavis and Butthead-esque" about today's blog....

Thinking about the time after I wrote Suddenly, in a bit more time than a blink of an eye, "standards support" becomes "less i18n support".

Now regular reader John Cowan commented to that blog:

So what happens when there is a U+206E in the text that IE is rendering?  Does it have effect, and if so, what effect?

Perhaps unintentionally he gave me the inspiration for today's entirely inappropriate blog that you are reading!

Looking at the blog, it was talking about the fact that Internet Explorer had decided to for the sake of standards pre-emptively break the behavior of many keyboards and locales and users met with many yawns.

I mean, no one wanted to go fight Internet Explorer, they're just too big to really take on, especially on matters related to standards support.

When you get right down to it, no one had the nerve.

No one had the guts.

And pardon the expression but no one had the nads to stand up and insist that the browser behavior be changed to do things the way it used to.

Which brings us back to John's comment.

Because as it turns out, when you insert U+206e, aka NATIONAL DIGIT SHAPES, in front of the text, it will override even an IE8 or IE9 tag in text like this:

<!DOCTYPE HTML>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=8" >
</head>
<body>
<p>0123456789</p>
</body>
</html>

and it will put in the National digits, overriding the new IE behavior to match the LOCALE_SNATIVEDIGITS of the user's default locale.

Now the nickname of U+206e (NATIONAL DIGITS SHAPES) is NADS.

So if you want to show IE that you have the NADS to stand up to this change, you can get native digit shapes back again.... :-)

For more information on this character and digit shape issues like this, you can look at the Digit Shapes topic in MSDN.

Or you can ask me for this keyboard that will leave no doubt about whether you have the NADS....


comments not archived

Please consider a donation to keep this archive running, maintained and free of advertising.
Donate €20 or more to receive an offline copy of the whole archive including all images.

referenced by

2011/05/13 A digit by any other name can be just as geeky

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