liuervehc/nxmtp

Unable to copy files with filenames with special characters.

Opened this issue · 10 comments

I discovered this trying to copy a file called "pokémon.jpg". Give it a try.

Replacing the "é" (0xE9) with an "e" (0x65) fixed the issue for me, which led me to believe that the application only handles characters in the ASCII range (0x20 - 0x7F).

If I'm not mistaken, MTP should be capable of handling UTF-8 character encoding, so this could perhaps be fixed.

I'm not sure it's a issue with mtp so much as a issue with libnx and accented chars. A lot of Homebrew have the same issue with not being able to process accents correctly

This is exactly due to the application's handling of string data during object creation and will be corrected.

Fat32 cannot handle special charicters.

Forgot about that, yeah the only special chars that stock fat32 supports is ~!@#$%^&()_-{},.=[]`' All of the grave chars and stuff like that are way out of range

An intelligent error message would do. “File name not supported on target file system”perhaps.

I'm not sure that would be possible to show on the computer side as that's up to the os on how to handle errors. Could show something on the switch though

Im just hoping for KIP support. xD

Additionaly. I recomend not even trying to support exfat as its so poorly implimented that your just asking for trubble with a tool like this.

The Switch filesystem won't handle anything but ascii characters on either FAT32 or exFAT so those file would need to be renamed regardless.

This project is kinda dead anyways :/