What are the major drawbacks of having a domain that contains characters with accents?

限于喜欢 提交于 2020-05-30 04:18:47

问题


I am considering getting a domain that contains an accented character (it contains an á). However, I noticed that only some companies offer them. Is there a general problem with those domains or will I have certain disadvantages when using one?


回答1:


The DNS protocol only supports ASCII. Domains with accented characters in them are encoded to ASCII using Punycode. That means that your domain éxàmplê.com is actually xn--xmpl-0na6cm.com.

It is a virtual certainty that there is lots of software out there that doesn't support internationalized domain names (IDN). It's up to you to test in your environment and decide whether the advantages of a rich character set in your domain name is worth the trouble.

Here are just a few things to check, just off the top of my head.

  • Does your web browser support IDNs? (probably it does).
  • Do all the web browsers used by your web site's visitors support them?
  • Does your email server software support them?
  • Does your mail user agent support them (i.e. does it work when you configure an email account with email address myself@éxàmplê.com)?
  • Do the mail servers and mail user agent software used by all your email correspondents support IDNs?
  • Does your SSH client accept IDNs (ssh myserver.éxàmplê.com)?
  • Does your syslog server support them? Your database client? Your load balancer (if you use names, not IP addresses)?
  • Do they work in /etc/hosts?
  • Can your DHCP clients and servers handle accented characters in the DNS domain?
  • etc...
  • so many more!

The answer to lots of those is probably no. In that case you can always configure the particular software in question with the raw punycoded form of the domain, but do you really want to write xn--xmpl-0na6cm.com in config files and look at that string in server logs?



来源:https://stackoverflow.com/questions/15976405/what-are-the-major-drawbacks-of-having-a-domain-that-contains-characters-with-ac

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!