PHP Net_IDNA is a class to convert between the Punycode and Unicode formats. Punycode is a standard described in RFC 3492 and part of IDNA (Internationalizing Domain Names in Applications [RFC3490]). This class allows PHP scripts to convert these domain names without having one of the PHP extensions installed.
| Tags | Software Development Libraries php classes Internet DNS Localization Utilities |
|---|---|
| Licenses | LGPL |
| Operating Systems | OS Independent |
| Implementation | PHP |
Recent releases


Changes: A missing replacement mapping has been added for the Thai character Sara Am (U+0E33), which led to wrong conversion of strings containing this character.


Changes: This build fixes an issue with the php.ini directive mbstring.func_overload that could lead to cut off strings when encoding a Unicode string to Punycode.


Changes: The class has been adapted to use the OOP model of PHP5, since PHP4 is discontinued. The formerly external name prep data has been joined back into the class file, which saves one file inclusion and parsing step.


Changes: The class has been patched to better cope with strange URLs passed to it.


Changes: A nasty bug which prevented the correct encoding of Korean (Hangul) strings was fixed. While decoding was okay at all times, the correct Punycode encoding failed completely.