织梦CMS - 轻松建站从此开始!

欧博ABG官网-欧博官方网址-会员登入

Why/how does the brow皇冠ser decide ☃.net goes to xn

时间:2025-08-29 15:47来源: 作者:admin 点击: 9 次
It uses an encoding scheme called Punycode (as you've already discovered from the Python testing you've done), capable of representing Unicode charact

It uses an encoding scheme called Punycode (as you've already discovered from the Python testing you've done), capable of representing Unicode characters in ASCII-only format.

Each label (delimited by dots, so get.me.a.coffee.com has five labels) that contains Unicode characters is encoded in Punycode and prefixed with the string xn--.

The label encoding first copies all the ASCII characters, then appends the encoded Unicode characters. The Unicode characters are always after the final - in the label, so one is added after the ASCII characters if needed.

More detail can be found in this page over at the w3 site, and in RFC 3987. For details on how Punycode actually encodes labels, see the Wikipedia page.

(责任编辑:)
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:
发布者资料
查看详细资料 发送留言 加为好友 用户等级: 注册时间:2025-09-14 12:09 最后登录:2025-09-14 12:09
栏目列表
推荐内容