venj / theunarchiver

Automatically exported from code.google.com/p/theunarchiver
Other
0 stars 0 forks source link

Replace GetScriptManagerVariable() in TUEncodingPopUp.m #244

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
GetScriptManagerVariable() is deprecated, GetTextEncodingName() will be soon. 
Apple recommends 
using
+ (NSString *)localizedNameOfStringEncoding:(NSStringEncoding)encoding
Have a look at
http://github.com/JanX2/UniversalDetector/blob/master/DetectorTest.m
for a sample implementation.

Original issue reported on code.google.com by goo...@geheimwerk.de on 13 Apr 2010 at 4:26

GoogleCodeExporter commented 9 years ago
Good suggestion, fixed. Lets me dump some ugly code, too.

Original comment by paracel...@gmail.com on 4 May 2010 at 12:45