Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Trickey <howard.trickey@gmail.com>2015-09-11 14:32:05 +0300
committerHoward Trickey <howard.trickey@gmail.com>2015-09-11 14:32:05 +0300
commit21826af5f730e7dff441d206b25d5ccd0992dea4 (patch)
treee90233b9f8571a111caba8b9655a064205a5310a /source/blender/quicktime
parentbb20c96da562a294f3f606ca6db446389d6765cb (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')
-rw-r--r--source/blender/quicktime/apple/qtkit_export.m3
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;