Commit 87529928 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed display of localized strings in a wrong encoding

parent 64f57223
......@@ -815,7 +815,7 @@ static VLCMain *_o_sharedMainInstance = nil;
if( psz != NULL )
{
o_str = [[[NSString alloc] initWithFormat:@"%s", psz] autorelease];
o_str = [NSString stringWithCString: psz encoding:NSUTF8StringEncoding];
if( o_str == NULL )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment