alperakcan / fuse-ext2

Fuse-ext2 is a multi OS FUSE module to mount ext2, ext3 and ext4 file system devices and/or images with read write support.
GNU General Public License v2.0
808 stars 130 forks source link

umlaut (äöü) does not work #1

Open alperakcan opened 9 years ago

alperakcan commented 9 years ago

umlaut (äöü) does not work

luzat commented 7 years ago

For the record: This seems to be mostly a problem with filesystems which contain filenames using UTF-8 in Normalization Form C (NFC). Most macOS applications expect and work with Normalization Form D (NFD). Given that this problem applies to other filesystems (such as ntfs-3g) which are based on osxfuse, this could be solved with a stackable filesystem module in osxfuse.

The implementation could be close to what the existing iconv module offers. Unfortunately iconv itself does not convert between normalization forms, but one could use NSString.

This might not solve all problems (what if a filesystem contains NFC and NFD filenames?), but would still be useful in practice.

There is also some MacFuse documentation on the topic.