有什么办法可以避免显示"xn--"?IDN域? [英] Is there any way to avoid showing "xn--" for IDN domains?

查看:75
本文介绍了有什么办法可以避免显示"xn--"?IDN域?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我使用www.äöü.com之类的域,有什么方法可以避免在用户中将其显示为 www.xn--4ca0bs.com 浏览器?

If I use a domain such as www.äöü.com, is there any way to avoid it being displayed as www.xn--4ca0bs.com in users’ browsers?

诸如 www.xn--4ca0bs.com 之类的域名与普通互联网用户造成了很多困惑.

Domains such as www.xn--4ca0bs.com cause a lot of confusion with average internet users, I guess.

推荐答案

这完全取决于浏览器.实际上,IDN几乎是一种仅用于浏览器的技术.域名不能包含非ASCII字符,因此实际域名始终是Punycode编码的 xn --... 形式.浏览器可以美化它,但是许多人选择不这样做,以避免使用相似的Unicode字符进行域名欺骗.

This is entirely up to the browser. In fact, IDNs are pretty much a browser-only technology. Domain names cannot contain non-ASCII characters, so the actual domain name is always the Punycode encoded xn--... form. It's up to the browser to prettify this, but many choose to not do so to avoid domain name spoofing using lookalike Unicode characters.

这篇关于有什么办法可以避免显示"xn--"?IDN域?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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