PHP Library for encoding and decoding international domain names to and from punycode
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
testbench
LICENSE
README.md
example.php
punycode.class.php

README.md

PHP_IDN_Punycode

PHP Library for encoding and decoding international domain names to and from punycode

Simple example:

echo Punycode::encodeHostname('bücher.ch')."\n";
echo Punycode::decodeHostname('xn--bcher-kva.ch')."\n";