I am still totally puzzled. I put the code from the top into the page that gives me trouble - and the top parts works.
Japanese works, Chinese works, ä ü ö do NOT work, but ő works, but ñ does not. It works when I string them up in an array and decode them in a FOREACH loop. I can add a variable with a value into the Array. But when I put the same url into a variable (not array!) and then into the test array it will not work.
I got already a new idna_convert.class.php - same issue.
PS: Same error with PHP 5.4.7
Last edited by fail; 01-11-2013 at 01:37 PM..