C# 日文网址转punnycode
Uri uri = new Uri(url);
IdnMapping idn = new IdnMapping();
url= url.Replace(uri.Host, idn.GetAscii(uri.Host));
Uri uri = new Uri(url);
IdnMapping idn = new IdnMapping();
url= url.Replace(uri.Host, idn.GetAscii(uri.Host));