nxmtp icon indicating copy to clipboard operation
nxmtp copied to clipboard

Unable to copy files with filenames with special characters.

Open DarkMatterCore opened this issue 6 years ago • 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.

DarkMatterCore avatar Jan 26 '19 21:01 DarkMatterCore

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

Masamune3210 avatar Jan 27 '19 00:01 Masamune3210

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

liuervehc avatar Jan 29 '19 18:01 liuervehc

Fat32 cannot handle special charicters.

fennectech avatar Feb 07 '19 08:02 fennectech

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

Masamune3210 avatar Feb 07 '19 11:02 Masamune3210

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

fennectech avatar Feb 27 '19 22:02 fennectech

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

Masamune3210 avatar Feb 28 '19 06:02 Masamune3210

Im just hoping for KIP support. xD

fennectech avatar Feb 28 '19 06:02 fennectech

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.

fennectech avatar Feb 28 '19 06:02 fennectech

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

AnalogMan151 avatar Mar 24 '19 01:03 AnalogMan151

This project is kinda dead anyways :/

fennectech avatar Mar 24 '19 02:03 fennectech