mtheall/ftpd

Can not transfer files with non-latin characters in file name

alexkirs opened this issue · 3 comments

Describe the bug
Can not transfer files with non-latin characters in file name. When try to copy such file - in ftpd console I see wrong filename, it looks like ascii symbols mess.

To Reproduce
Try to copy or create file with "абсдеф.txt" name for example.

Platform (please complete the following information):

  • Switch
eku commented

Does the filesystem driver of the switch support unicode?

Does the filesystem driver of the switch support unicode?

I think you right. It seems like switch filesystem driver does not support unicode. When I try to copy same files over MTP - they did copy but all non-english characters replaces with empty char.

2021100518455600-49F3AB1FEC27E3CC1D94E9D4AD7DA138

Maybe then there is sense to do same in ftpd? Replace all non-english characters with empty char. Or even better - transliterate them?

This is a Switch OS bug, not an ftpd one. I would expect that MTP did the same thing as ftpd; the blank characters are display-only due to limited font.