Can we have a language other than english in a URL

2019-05-22 14:04发布

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,

2条回答
小情绪 Triste *
2楼-- · 2019-05-22 14:24

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'.

查看更多
啃猪蹄的小仙女
3楼-- · 2019-05-22 14:48

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

查看更多
登录 后发表回答