Skip to content
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.

Use -fileSystemRepresentation instead of -UTF8String #6

Closed
wants to merge 1 commit into from
Closed

Use -fileSystemRepresentation instead of -UTF8String #6

wants to merge 1 commit into from

Conversation

DustinNorman
Copy link

Updated fusefm_readdir to use -[NSString fileSystemRepresentation] to convert to C-strings. Using -[NSString UTF8String] can cause issues with duplicated folder/file names in Finder if the name contains accented characters due to Unicode normalization.

I believe this to resolve issue: osxfuse/osxfuse#460. I was seeing the same behavior and this change resolves it.

Updated fusefm_readdir to use -[NSString fileSystemRepresentation] to convert to C-strings. Using -[NSString UTF8String] can cause issues with duplicated folder/file names in Finder if the name contains accented characters.
@bfleischer
Copy link
Member

The macFUSE framework source code has been moved to https://github.com/macfuse/framework. Therefore I'm closing the pull request.

@bfleischer bfleischer closed this Nov 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants