[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

garbled file names on a linux/windows volume



Hi,

recently I used ubuntu to mount a windows fat32 volume to copy files
to another fat volume, using a simple "cp -r", and now file names
containing diacritics and "other" languages do not show up properly. i
only discovered the problem when i was about to use them.

using an edonkey client, which has a function to convert file names to
url-friendly strings (aka ed2k links), i was able to see that "é"
showed up as %C3%83%C2%A9, while the more complex "专辑"
(专辑) would be %C3%A4%C2%B8%C2%93%C3%A8%C2%BE%C2%91.

is it possible to fix this quickly using iconv? or perhaps someone
could suggest an algorithm to perform a mapping?



-- 
Cheers,
Ray Chuan
??L_"咨?抚?'jYez鳐??+????Y?)钇??Щ?Ï