I have a directory of video files I was moving to my tablet. The filenames are in Japanese, which is not displaying correctly on my laptop (Slackware linux, using xfce). No big deal, I don't need to see correct filenames anyway so it's not a problem for me.
Anyway, I plugged in my tablet and opened the file manager and transferred the files. I was surprised to see that with the two directories side by side (the tablet directory I copied to, and the local files on my laptop), the filenames display correctly on the directory mounted from the tablet. I did nothing at all here besides drag and drop the directory to the tablet.
Why would this be? I didn't think this was something that could even possibly happen. Being an Android tablet it's using MTP rather than mounting like an ordinary removable disk, that's the only thing I can think of that could have any bearing on this but even that seems unlikely to me.
I took a screenshot of the two file manager windows sitting side by side. The left is the tablet, the right is local. If it matters, the local disk uses ext4.
LANG=C /bin/ls -l
, does it show question marks? And what doesenv|grep LANG
produce`? – Harald Jan 01 '18 at 16:57LANG=en_US.UTF-8 thunar .
in a terminal. If this works, it is a matter of getting the LANG setting globally, not just for a single command. – Harald Jan 01 '18 at 17:07