On Apr 18, 2010, at 3:40 AM, Henrietta Read wrote: >>> >>> This leaves the question of why -stringWithContentsOfFile: would fail. > I'm not sure what heuristics that call uses, but you'd think it would be > able to handle MacRoman, obsolete though it is.
In general, it is. For example, I just created a test file encoded in MacRoman and stringWithContentsOfFile:usedEncoding:error: correctly set the encoding to 30 - or "Western (Mac OS Roman)" when run through localizedNameOfStringEncoding: Something else is going on here. warmest regards, Ralph Raffael Cavallaro [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
