带有 Unicode 字符的主机名在 Windows 8 中有效 [英] A hostname with Unicode characters is valid in Windows 8
本文介绍了带有 Unicode 字符的主机名在 Windows 8 中有效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Uri.CheckHostName("контосо.ком")
到处都返回 UriHostNameType.Unknown
,但在 Windows 8 上,它返回 UriHostNameType.Dns
>.知道为什么突然间带有 Unicode/Cyrillic 字符的主机名在 Windows 8 中有效吗?
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?
推荐答案
因此.国际化域名
http://en.wikipedia.org/wiki/Internationalized_domain_name
http://tools.ietf.org/html/rfc5895
这篇关于带有 Unicode 字符的主机名在 Windows 8 中有效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文