Closed wuujiann closed 1 month ago
Using the following code from your example, listNames() display non-ANSI characters in filename as '?'. What do I need to set so that non-ASCII can be displayed properly.
await client.currentDirectory.listNames().then(print);
Output:
flutter: [/bird park_restored.jpeg, /????.jpg]
Turns out that you need to send "OPTS UTF8 ON" after socket.connect(host,port).
@wuujiann try last version
Using the following code from your example, listNames() display non-ANSI characters in filename as '?'. What do I need to set so that non-ASCII can be displayed properly.
Output: