|
From: | Tim Rühsen |
Subject: | Re: bug - idn: could not convert from ASCII to UTF-8 |
Date: | Sun, 20 Feb 2022 19:27:29 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 |
Bogdan <bogdan.pylypenko107@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
[Prev in Thread] | Current Thread | [Next in Thread] |