]> git.sesse.net Git - vlc/commitdiff
THANKS and AUTHORS were converted to UTF-8
authorFelix Paul Kühne <fkuehne@videolan.org>
Mon, 26 Sep 2005 21:46:01 +0000 (21:46 +0000)
committerFelix Paul Kühne <fkuehne@videolan.org>
Mon, 26 Sep 2005 21:46:01 +0000 (21:46 +0000)
modules/gui/macosx/about.m

index 7958b89afd2ec46c19dd325966ed3d98bcbbc8df..37eec93bcb927c1685dafce43842eef497d7a455 100644 (file)
@@ -86,7 +86,7 @@ static VLAboutBox *_o_sharedInstance = nil;
         
         /* Setup our credits */
         o_credits_path = [[NSBundle mainBundle] pathForResource:@"AUTHORS" ofType:nil];
-        o_credits = [[NSString alloc] initWithData: [NSData dataWithContentsOfFile: o_credits_path ] encoding:NSWindowsCP1252StringEncoding];
+        o_credits = [[NSString alloc] initWithData: [NSData dataWithContentsOfFile: o_credits_path ] encoding:NSUTF8StringEncoding];
         
         /* Parse the authors string */
         NSMutableString *o_outString = [NSMutableString stringWithFormat: @"%@\n\n", _NS(INTF_ABOUT_MSG)];
@@ -130,7 +130,7 @@ static VLAboutBox *_o_sharedInstance = nil;
         /* Parse the thanks string */
         o_thanks_path = [[NSBundle mainBundle] pathForResource:@"THANKS" ofType:nil];
         o_thanks = [[NSString alloc] initWithData: [NSData dataWithContentsOfFile: 
-                        o_thanks_path ] encoding:NSWindowsCP1252StringEncoding];
+                        o_thanks_path ] encoding:NSUTF8StringEncoding];
         
         NSScanner *o_scan_thanks = [NSScanner scannerWithString: o_thanks];
         [o_scan_thanks scanUpToCharactersFromSet: o_stopSet intoString: nil];