-->

Can we have a language other than english in a URL

2019-05-22 13:56发布

问题:

I know the answer to my question is Yes, But I am really interested to know how its done with my application in PHP. I am basically looking for a URL that contains a hindi characters.

Thanks,

回答1:

Unfortunatly, RFC2396 says you're not allowed to use any non alphanumeric characters. You can however encode them, but that defeats your point of having nicely 'speaking urls'.



回答2:

ICANN (The Internet Corporation for Assigned Names and Numbers) exists with the sole responsibility of managing top-level domain name systems and IP addresses

a translation system needs to be created that allows multiple scripts to be converted to the right address. ICANN is also to decide on the degree of freedom given on global top-level domain names. Right now, web addresses can only be chosen from 21 suffixes such as .net or .com. If this changes companies and individuals can have unlimited choices such .indian / .delhi or maybe an anshul.jain