Download List

Project Description

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. It supports both IDNA 2003 and IDNA 2008.
Information regarding Project Releases and Project Resources. Note that the information here is a quote from page, and the downloads themselves may not be hosted on OSDN.

2011-03-12 08:11

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.
Tags: Stable, Major feature enhancements, Minor bugfixes

2010-11-22 11:19

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.
Tags: Minor bugfixes, Stable

2010-11-05 06:33

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.

2010-10-14 07:24

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.
Tags: Stable, Minor feature enhancements

2009-04-16 03:22

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.
Tags: Stable

Project Resources