问题
Uri.CheckHostName("контосо.ком") returns UriHostNameType.Unknown everywhere, but on Windows 8, where it returns UriHostNameType.Dns. Any ideas why all of a sudden a hostname with Unicode/Cyrillic characters is valid in Windows 8?
回答1:
Because of this. Internationalized domain name
http://en.wikipedia.org/wiki/Internationalized_domain_name
http://tools.ietf.org/html/rfc5895
来源:https://stackoverflow.com/questions/14075023/a-hostname-with-unicode-characters-is-valid-in-windows-8