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

THANKS and AUTHORS were converted to UTF-8

parent 67cbe1bb
...@@ -86,7 +86,7 @@ static VLAboutBox *_o_sharedInstance = nil; ...@@ -86,7 +86,7 @@ static VLAboutBox *_o_sharedInstance = nil;
/* Setup our credits */ /* Setup our credits */
o_credits_path = [[NSBundle mainBundle] pathForResource:@"AUTHORS" ofType:nil]; 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 */ /* Parse the authors string */
NSMutableString *o_outString = [NSMutableString stringWithFormat: @"%@\n\n", _NS(INTF_ABOUT_MSG)]; NSMutableString *o_outString = [NSMutableString stringWithFormat: @"%@\n\n", _NS(INTF_ABOUT_MSG)];
...@@ -130,7 +130,7 @@ static VLAboutBox *_o_sharedInstance = nil; ...@@ -130,7 +130,7 @@ static VLAboutBox *_o_sharedInstance = nil;
/* Parse the thanks string */ /* Parse the thanks string */
o_thanks_path = [[NSBundle mainBundle] pathForResource:@"THANKS" ofType:nil]; o_thanks_path = [[NSBundle mainBundle] pathForResource:@"THANKS" ofType:nil];
o_thanks = [[NSString alloc] initWithData: [NSData dataWithContentsOfFile: 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]; NSScanner *o_scan_thanks = [NSScanner scannerWithString: o_thanks];
[o_scan_thanks scanUpToCharactersFromSet: o_stopSet intoString: nil]; [o_scan_thanks scanUpToCharactersFromSet: o_stopSet intoString: nil];
......
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