Release Notes: The example page contained a possible XSS attack, which has been fixed.
Release Notes: The class now fully supports IDNA 2008 and fixes some minor issues with mb_string. Read the supplied ReadMe to learn how to switch between IDNA 2003 and 2008.
Release Notes: This build fixes a bug initializing the replace map for the German ß on construct. Additionally, setting whether to convert the ß or not via set_parameter() had no effect.
Release Notes: This build can convert the German ligature ß into Punycode (in fact, this is the default). The change was required, since DeNIC, the registry for .de domains, now allows this character in domain names. A configuration option to enable the old behaviour is available.
Release Notes: This version adds the method encode_uri() to specifically convert the host name part of a whole URI to Punycode but leave the other components (path, query string, etc.) alone. The code has been cleaned up a little.
Release Notes: 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.
Release Notes: 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.
Release Notes: 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.
Release Notes: The class has been patched to better cope with strange URLs passed to it.
Release Notes: 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.