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.
What's New in This Release: [ read full changelog ]
· 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.