On 20.02.22 08:44, Simon Josefsson via Discussion list for GNU Internationalized Domain Name library (Libidn) wrote:
Bogdan <bogdan.pylypenko...@gmail.com> writes:

# I have a bug:

$ echo "домен.рф" | idn
idn: could not convert from ASCII to UTF-8

Could 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--p1ai

Either 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

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

  • bug... Bogdan
    • ... Discussion list for GNU Internationalized Domain Name library (Libidn)
      • ... Tim Rühsen
        • ... Discussion list for GNU Internationalized Domain Name library (Libidn)
      • ... Discussion list for GNU Internationalized Domain Name library (Libidn)

Reply via email to