ThaiURL

ThaiURL (Thai Uniform Resource Locator) is a technology enabling the use of Thai domain names in applications that have been modified to support this technology. It is one of several such systems that were marketed before the advent of IDNA.

Traditionally, the Domain Name System (DNS), does not allow domain names with Thai characters. The only characters allowed in DNS names, as specified in RFC 1034 “Domain names - concepts and facilities” and RFC 1035 “Domain names - implementation and specification”, are


 * 1) Letter: “a” through “z” (case insensitive)
 * 2) Digit: “0” through “9”
 * 3) Hyphen (-)

The ThaiURL domain naming standard is based on Thai characters and symbols as specified in TIS 620-2533: Standard for Thai Character Codes for Computers. Since these are non-ASCII characters, Row-based ASCII Compatible Encoding is used. The encoding process is as follows:


 * 1) Begin with a Thai domain name as input:
 * 2) Convert the Thai characters into their Unicode code points in hexadecimal:  (spaces are added here to show individual code points)  (actual hex string)
 * 3) Convert the hex characters to binary:  (spaces added to show individual hex characters)
 * 4) Perform a Base32 conversion:  (binary representation)  (ASCII representation)
 * 5) Append TLD:

This kind of URL encoding is not a national standard, but rather a system used by the domain name registrar ThaiURL.com. It is one of many localized naming schemes that predate standardisation of Internationalized domain names (IDNA); at the moment the two systems appear to coexist. The ccTLD name registrar for .th, thnic.net, supports IDNA; ThaiURL registers .com names.

However, because this is not an ICANN-sanctioned IDN encoding method, support is limited. Most browsers will use still default to punycode for encoding Thai domain names, so the only way to reach ThaiURL-registered domains is by typing in or linking to the ASCII-encoded domain name.