浏览器支持 Unicode URL [英] Browser Support Unicode URL

查看:31
本文介绍了浏览器支持 Unicode URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

浏览器对在域名中包含 unicode 字符的图像、链接、脚本的支持是什么?

What is the browser support for having images, links, scripts... containing unicode characters in the domain name?

例如,IE5+、chrome、firefox、opera、safari 和移动浏览器(Dolfin、Blackberry Webkit、MicroB、Phantom、IEMobile...)是否都支持以下声明?

For example does IE5+, chrome, firefox, opera, safari, and mobile browsers (Dolfin, Blackberry Webkit, MicroB, Phantom, IEMobile...) all support the following statement?

<script src=☺.com/s.js></script>

只是试图理解上述语句的可移植性.

Just attempting to understand the portability of the above statement.

推荐答案

维基百科的国际化域名 文章 是这样说的:

Wikipedia's Internationalized domain name article says this:

Mozilla 1.4、Netscape 7.1、Opera 7.11 位居前列支持 IDNA 的应用程序.浏览器插件可用于Internet Explorer 6 提供 IDN 支持.IE浏览器7.0[13][14] 和 Windows Vista 的 URL API 为 IDN 提供本机支持.[15]

Mozilla 1.4, Netscape 7.1, Opera 7.11 were among the first applications to support IDNA. A browser plugin is available for Internet Explorer 6 to provide IDN support. Internet Explorer 7.0[13][14] and Windows Vista's URL APIs provide native support for IDN.[15]

考虑到这些浏览器的年龄,我猜任何更新的浏览器,包括任何基于 WebKit 的浏览器,都支持 IDN.

Considering the age of those browsers, I'd guess that any newer browser, including any WebKit-based browser, supports IDNs.

这篇关于浏览器支持 Unicode URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆