What is the best way to convert an internationalized domain name to its ASCII-form?
I want to convert Bücher.ch into xn--bcher-kva.ch by using some sort of (free) .net code.
Bücher.ch
xn--bcher-kva.ch
using System.Globalization; ... IdnMapping idn = new IdnMapping(); MessageBox.Show(idn.GetAscii("www.kraków.pl"));
1.4m articles
1.4m replys
5 comments
57.0k users