Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
634 views
in Technique[技术] by (71.8m points)

unicode - Are IDN domain names case-sensitive?

Some people will reply that domain names are not case-sensitive. In the new Unicode world this is no longer true.

(Source)

I thought one of the steps in the Unicode > Punycode conversion was a "normalisation", which rendered domain names lower case.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

For old-fashioned ASCII-based domain names, Yes, domain names have been and continue to be case-insensitive.

For example, all of these represent the same domain:

  • example.com
  • Example.com
  • EXAMPLE.COM
  • EXampLE.com

In modern DNS, we now have Internationalized Domain Names (IDN) which allows Unicode characters. The problem is that defining upper- and lowercase can be tricky in some languages and character sets beyond ASCII (Unicode is a superset of US-ASCII).

The intent of domain names is to be case-insensitive, but there may be complications with particular characters in particular scripts of particular human languages. So there is no simple YES or NO answer to your question.

If using non-ASCII domain names, you should read:


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...