Shawn Steele's thoughts about Windows and .Net Framework globalization APIs
I split my work between Windows and the .Net framework (Silverlight & Visual Studio). For .Net I work on the .Net System.Text and some of the System.Globalization classes. For Windows I'm responsible for many of the NLS APIs.
My primary work is involved with encodings/code pages, sorting, normalization, and IDN. I also mess with locales and cultures.
This posting is provided "AS IS" with no warranties, and confers no rights. Use of included samples are subject to the terms specified at http://www.microsoft.com/ info/cpyright.htm
A colleague gave me some URLs to use for testing IDN. I don't vouch for any of these sites, and some are obvious ads and some may be inappropriate (since I can't read them), but maybe they'll be helpful for testing.
Additionally some sites could be phishing, spoofing or have malicious content, so please use this list carefully.
If you would like to receive an email when updates are made to this post, please register here
Subscribe to this post's comments using RSS
Hi Shawn,
That's an amazing list of IDNs there! I hope you don't mind that I took the liberty to incorporate some of them into http://IDNSearch.net/ which I started exactly to serve as a repository of IDN examples. Thanks!
No problem, but remember my caveat that these might not all be "real".
Hi hello Shawn,
I saw you wrote the API for the IDN at Microsoft,
I'm following IDN since the testbed from Verisign a few years ago,
and i try to get the functions working in C# with aspx... but i can't get it to work,
you might have any c# examples of the Ms-IDN version ? or you know where to find it ?
i'm a clarion programmer... not so much knowledge yet from c# ..
i couldn't get the xcode.dll to work too, neither the xcodecom com object ..
neither the functions of ms . .at least.. within aspx
good luck with all you do,
greetings,
Menno
I'm not sure about asp.net, but it shouldn't be hard. You have to make a new IdnMapping class.
using System;
using System.Globalization;
public class Sample
{
public static void Main()
IdnMapping idn = new IdnMapping();
Console.WriteLine(idn.GetAscii("www.rüüsbier.ch"));
}