Mobile app version of vmapp.org
Login or Join
Gonzalez347

: How do URLs work in a country with non-latin chars? How do URLs work in other countries? Let's say India or China that use non A-Z characters. Do they use English terms in the URL? Or can

@Gonzalez347

Posted in: #Internationalization

How do URLs work in other countries? Let's say India or China that use non A-Z characters.

Do they use English terms in the URL? Or can they write characters in urls like:


सच्चाई.html

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Gonzalez347

1 Comments

Sorted by latest first Latest Oldest Best

 

@Twilah146

It depends on the context and characters used.

Domain names

Domain names that use non-ASCII characters are known as Internationalized Domain Names (IDNs). They are encoded using Punycode into the ASCII character set. This is to maintain compatibility with older networking software that doesn't understand Unicode.

For example, I have registered a domain name with a letter containing an 'umlaut' character. Here, übersolve.com which translates to XN--BERSOLVE-55A.COM in DNS.

Filenames / query strings

In most cases, non-ASCII characters in filenames can be represented by Unicode.

However some characters aren't allowed in URLs at all. These are percent-encoded. For example a space character ' ' would be replaced with %20.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme