idn_to_ascii() in 5.2.17

There's a very handy function idn_to_ascii() in PHP 5.3, but I'm running 5.2.17 and I can't change that. How do I encode Unicode domain names to ascii then?

5
задан Spudley 23 March 2011 в 13:02
поделиться