summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordynaflash <[email protected]>2008-11-07 15:05:25 +0000
committerdynaflash <[email protected]>2008-11-07 15:05:25 +0000
commit58a03f5ec03c4cecbc72d5cc8a1f32327f6125dd (patch)
treedae120929d4d03e2eed3150f3dbf6d8806af0201 /macosx
parente9c85188d91e55e7287e2388fcda8edb2991f333 (diff)
MacGui: Fix multibyte character issue for Chapter Names
- Patch by youk, thanks! - Addressed here http://forum.handbrake.fr/viewtopic.php?f=12&t=7580 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1902 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r--macosx/Controller.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm
index 8b7a26cc5..7681c1f3f 100644
--- a/macosx/Controller.mm
+++ b/macosx/Controller.mm
@@ -1796,7 +1796,7 @@ fWorkingCount = 0;
hb_chapter_t *chapter = (hb_chapter_t *) hb_list_item( fTitle->list_chapter, i );
if( chapter != NULL )
{
- [ChapterNamesArray addObject:[NSString stringWithFormat:@"%s",chapter->title]];
+ [ChapterNamesArray addObject:[NSString stringWithCString:chapter->title encoding:NSUTF8StringEncoding]];
}
}
[queueFileJob setObject:[NSMutableArray arrayWithArray: ChapterNamesArray] forKey:@"ChapterNames"];