主机名中的非英语(希伯来语)字符
是官方的吗?它是在哪里定义的?
如何以编程方式在英语和非英语版本之间进行转换?
我看到谷歌识别为希伯来语的域名,但浏览器不识别。
示例:
http://www.xn----ogc3ffxd2br0d.com/ http://www.xn------wpehbcibg3bcah2ftaym6h.com/ http://www.xn----6hcesc7ap3c.ws/
Is it official? Where is it defined?
How can I transform between the english and non-english version, programmatically?
I see domains that google recognizes as hebrew, but the browser does not.
Examples:
http://www.xn----ogc3ffxd2br0d.com/
http://www.xn------wpehbcibg3bcah2ftaym6h.com/
http://www.xn----6hcesc7ap3c.ws/
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
http://en.wikipedia.org/wiki/Internationalized_domain_name
http://en.wikipedia.org/wiki/Internationalized_domain_name#ToASCII_and_ToUnicode
http://en.wikipedia.org/wiki/Internationalized_domain_name
http://en.wikipedia.org/wiki/Internationalized_domain_name#ToASCII_and_ToUnicode
这是带有 ACE 前缀的 PUNYCODE。处理此问题的最流行的库是
http://www.gnu.org/software/libidn/< /a>
This is PUNYCODE with ACE prefix. The most popular library to handle this is
http://www.gnu.org/software/libidn/
官方,是的,它是 IDN(国际化域名),并且已定义(自 2003 年起)在 RFC 3490 中。 (虽然“.il”似乎不允许它们......)
有几个免费软件库可以处理它:
Official, yes, it is IDN (Internationalized Domain Names) and it is defined (since 2003) in RFC 3490. (Although ".il" does not seem to allow them...)
There are several free software libraries to handle it: