Bogdan <bogdan.pylypenko...@gmail.com> writes:# I have a bug:$ echo "домен.рф" | idn idn: could not convert from ASCII to UTF-8Could your platform be lacking nl_langinfo() perhaps? What system is this, and could you show the output from your libidn ./configure run?
This happens here on Debian unstable as well, while 'idn2' works as expected.
$ echo "домен.рф" | idn2 xn--d1acufc.xn--p1aiEither the error message from 'idn' is misleading or the way iconv() is called / handled is not correct.
(Sorry, no time to look into the code right now.) Regards, Tim
OpenPGP_signature
Description: OpenPGP digital signature