Notes
- No data is sent to the server (i.e. everything is done in JavaScript).
- Conversion from Unicode to other encodings such as Shift_JIS can be slow first time as it needs to initialize internal conversion tables.
- Surrogate pairs in UTF-16 are supported. Try inserting
\uD840\uDC0B
in the second form. - Three-byte characters in EUC-JP are not supported.
Links
- JavaScript Unicode Charts
- Try GNU Libidn
- RFC 1468 Japanese Character Encoding for Internet Messages
- RFC 2396 Uniform Resource Identifiers (URI): Generic Syntax
- RFC 2047 - MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text
- RFC 3490 - Internationalizing Domain Names in Applications (IDNA)
- RFC 3491 - Nameprep: A Stringprep Profile for Internationalized Domain Names (IDN)
- RFC 3492 - Punycode: A Bootstring encoding of Unicode for Internationalized Domain Names in Applications (IDNA)
- Internationalized domain name - Wikipedia
TODO
- RESTFUL api support
- More languages (such as fr, jp, de)
HISTORY
- I18n Support (zh, en) 2011/01/19
- GBK, BIG5 encoding Support 2011/01/17