PHP Net_IDNA 0.8.0
A class to convert between the Punycode and Unicode formats.
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.
In a hurry? Add it to your Download Basket!
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.