Click here to Skip to main content
15,879,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have IIS server installed. I have created a site. Site is accessible using IP address but it is not accessible using computer name. my computer name is in Unicode format i.e. 샘플. If I hit the site with IP-ADDRESS/mysite/mypage.html, it is accessible but if I hit the site with http://샘플/mysite/mypage.html it is not accessible. If my computer name is an ANSI string then site is accessible. I just want to know what is the problem. Please guys help me with the possible solution of this problem. Thanks in advance.
Posted

1 solution

Unicode is not "format". Unfortunately, there is no such thing as Unicode-enabled domain names in URL which you can use in the same clear manner as ASCII-based. There are Internationalized domain names (IDN) first implemented in 1998 and approved in 2009. Please see:
Unicode URL not accessible[^].

In my opinion, huge part Web standards is quite ugly, and I think that IDN is the ugliest thing on the Web. The problem really strikes in the representation of the Unicode domains name, especially top-level domains, which is done via some ASCII "equivalents" (quotation makes intended). For example, " .中國" encodes as ".xn--fiqz9s", ".台湾" — as ".xn--kprw13d", and so on. How do you like it? Please see:
http://en.wikipedia.org/wiki/Internationalized_country_code_top-level_domain[^].

I don't know what to do about it. Maybe to look at this philosophically (human stupidity is limitless). I understand that pre-Unicode legacy was very difficult to overcome, and Unicode is probably not quite perfect, and I understand specific Chinese problems, when the characters are pictographs or ideographs and don't have common nation-wide pronunciation, but was that really necessary to create such a mess? maybe it would be better to live with ASCII then "solve" the problem in such a messy way? Probably I'll personally try to avoid such domain naming as much as I can. :-)

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900