Indy FTP Unicode DOESN'T work BY DEFAULT

First of all, let me say I found this issue a bit shameful.

Tried both with Delphi Berlin and Delphi Tokyo.

You create a simple FTP Client with IdFTP, default settings, connect to a normal FTP hosting, and list folders.

If a folder contains unicode characters, like "русский язык" or simply "CAMIÓN", you will get lovely question marks in the list result.

I cannot understand how it is possible a so important feature is not set to UTF8/Unicode by default.

Anyway, it seems there is no way to make it work, although you set the DefStringEncoding property in the IdFTP component or in the IOHandler.

To reproduce, just create a folder with unicode name with FileZilla, not with IndyFTP.

Thank you


Parents Reply Children