msys2 / MSYS2-packages

Package scripts for MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
1.29k stars 490 forks source link

lftp 4.8.3-1 encounters "Could not convert string to UTF-8" when opening connection #1343

Open ORYLY opened 6 years ago

ORYLY commented 6 years ago

On a 32-bit machine, lftp 4.8.3-1 prints a "Could not convert string to UTF-8" message when I pass any URL to its open command:

lftp
open ftp://fake-url.com

Downgrading by manually installing the previous package versions lftp-4.7.8-1-i686.pkg.tar.xz, libidn-1.33-1-i686.pkg.tar.xz avoids the error.

Alexpux commented 6 years ago

try lftp 4.8.4

ORYLY commented 6 years ago

Still encounter the same error on that (32-bit) machine after updating both lftp and libidn.

I don't see it happen on a different machine though.

nullpimpl commented 4 years ago

In case anyone else lands here, I had a similar symptom. My cause turned out to be that in one environment I had LC_CTYPE set (LFTP worked), in the other it was unset, and LFTP gave the UTF-8 error.