diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2015-09-11 14:32:05 +0300 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2015-09-11 14:32:05 +0300 |
commit | 21826af5f730e7dff441d206b25d5ccd0992dea4 (patch) | |
tree | e90233b9f8571a111caba8b9655a064205a5310a /source/blender/quicktime/apple | |
parent | bb20c96da562a294f3f606ca6db446389d6765cb (diff) |
Fix T45165, OSX quicktime fails with diacriticals in filename.
Since Blender internal strings are UTF8, changed the initialization
of the string to use initWithUTF8String from default encoding.
Fix worked on OSX 10.5.5.
Diffstat (limited to 'source/blender/quicktime/apple')
-rw-r--r-- | source/blender/quicktime/apple/qtkit_export.m | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/quicktime/apple/qtkit_export.m b/source/blender/quicktime/apple/qtkit_export.m index a4ee398da5d..9bc4ec444bb 100644 --- a/source/blender/quicktime/apple/qtkit_export.m +++ b/source/blender/quicktime/apple/qtkit_export.m @@ -378,8 +378,7 @@ int start_qt( } else { makeqtstring(rd, name, preview); - qtexport->filename = [[NSString alloc] initWithCString:name - encoding:[NSString defaultCStringEncoding]]; + qtexport->filename = [[NSString alloc] initWithUTF8String:name]; qtexport->movie = nil; qtexport->audioFile = NULL; |