bispawel / macfuse

Automatically exported from code.google.com/p/macfuse
Other
0 stars 0 forks source link

ntfs-3g file with chinese character name cannot show up. #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. sudo mkdir /Volumes/USB 
2. ntsf-3g /dev/disk1s1 /Volumes/USB -o ping_diskarb,volname="USB"

What is the expected output? What do you see instead?
List files whether by Finder or ls, the file with chinese name just gone.

What version of the product are you using? On what operating system?
ntfs-3g 0.20070102-BETA
macfuse 0.1.0b006

Please provide any additional information below.
ntfs-3g with fuse can deal with utf-8 correctly under linux, but not on 
macfuse. I think there might 
be some encoding problems in it.

Original issue reported on code.google.com by dino...@gmail.com on 15 Jan 2007 at 5:45

GoogleCodeExporter commented 8 years ago
Please review http://www.ntfs-3g.org/support.html#locale : your Linux 
installation probably has a Chinese-
specific locale set (such as zh_CN.UTF-8). You can, as detailed in the link, 
tell your OS X to use the same.

This is very unlikely to be a MacFUSE-specific problem; it could, however, have 
to do with the Mac OS X-specific 
locale implementation being different from Linux's (in which case it would 
still be something to fix in ntfs-3g, 
not MacFUSE).

Original comment by chucker...@gmail.com on 15 Jan 2007 at 12:32

GoogleCodeExporter commented 8 years ago
Thanks for your answer! Sorry about mistakenly take this as a mcafuse's issue.
My solution is to add a option like this.

sudo ntfs-3g /dev/disk4s1 /Volumes/USB -o 
ping_diskarb,volname="USB",locale=zh_TW.UTF-8

zh_TW.UTF-8 is used since I'm a Taiwan user. If you're using another language, 
just passing your locale string 
after the locale=

Original comment by dino...@gmail.com on 15 Jan 2007 at 2:53

GoogleCodeExporter commented 8 years ago

Original comment by si...@gmail.com on 17 Jan 2007 at 9:14