framework icon indicating copy to clipboard operation
framework copied to clipboard

Use -fileSystemRepresentation instead of -UTF8String

Open DustinNorman opened this issue 6 years ago • 0 comments

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: https://github.com/osxfuse/osxfuse/issues/460. I was seeing the same behavior and this change resolves it.

DustinNorman avatar Oct 06 '18 17:10 DustinNorman