diff --git a/Sparkle/SUInstaller.m b/Sparkle/SUInstaller.m index 8a9d8f38..23d8c6e8 100644 --- a/Sparkle/SUInstaller.m +++ b/Sparkle/SUInstaller.m @@ -154,8 +154,10 @@ assert(bundle != nil); NSString *normalizedAppPath = [[[bundle bundlePath] stringByDeletingLastPathComponent] stringByAppendingPathComponent:[NSString stringWithFormat:@"%@.%@", [host objectForInfoDictionaryKey:(__bridge NSString *)kCFBundleNameKey], [[bundle bundlePath] pathExtension]]]; - - return normalizedAppPath; + + // Roundtrip string through fileSystemRepresentation to ensure it uses filesystem's Unicode normalization + // rather than arbitrary Unicode form from Info.plist - #1017 + return [NSString stringWithUTF8String:[normalizedAppPath fileSystemRepresentation]]; } @end