开发者

How can I rewrite s domain name to the original IDN not the punycode?

开发者 https://www.devze.com 2023-04-07 04:19 出处:网络
I have bought an IDN domain name with non-latin characters. It is good but when I access the domain nam开发者_Python百科e, the address bar shows the punycode for the domain not the actual domain which

I have bought an IDN domain name with non-latin characters. It is good but when I access the domain nam开发者_Python百科e, the address bar shows the punycode for the domain not the actual domain which will be hard for any user to remember.

Is there is anyway I can rewrite the domain name to the original IDN not the punycode?

example: IDN = افلاماونلاين.com

punycode that show in address bar = xn--mgbaaa1ksacgkcs1a.com


The way that address bar is displayed is dependent on browser, its version, and possibly the used locale:

  • regardless of the locale, I see افلاماونلاين.com in Opera 11
  • I see xn--mgbaaa1ksacgkcs1a.com in Firefox 6 and Chrome 14 in my default locale (cs_CZ)
  • however, when I set locale to ar in Chrome, it shows the original version of the IDN (like Opera)
  • IE6 dies a horrible death (as expected)
  • IE7 shows the punycoded version
  • IE8 shows the punycoded version + an information button listing both versions

So, I'm afraid that there's not much that you can do about this as the site owner, unfortunately.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号