PHP Net_IDNA 0.8.0

A class to convert between the Punycode and Unicode formats.
  1 Screenshot
IDNA stands for "Internationalized Domain Names in Applications". Although there's various extensions for PHP, most of the providers do not offer these for use.

That's why we programmed an implementation written in PHP completely.

PHP Net_IDNA class is also available as a PEAR package.

This class is our contribution to the Open Source Community and that's why it is licvenced under the LGPL (GNU Lesser General Public Licnece), i.e. it can be used in non-comercial and commercial projects.

To use Net_IDNA in your own appications, you just need to include() or require() the source and instantiate the class with $idn = new Net_IDNA().

The object offers two methods - encode() for converting an UTF-8 string to Punycode format and decode() for the opposite direction.

last updated on:
March 14th, 2011, 9:47 GMT
developed by:
Matthias Sommerfeld
license type:
LGPL (GNU Lesser General Public License) 
ROOT \ Programming \ Localization
Download Button

In a hurry? Add it to your Download Basket!

user rating 19



Rate it!
What's New in This Release:
  • 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.
read full changelog

Add your review!