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
raffaelcavall...@me.com





_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to