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.
Project Release infomations and Project Resources. Note that these informations are from this projects Freecode.com page and the downloads themselves may not be hosted with SourceForge.JP.
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.
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.