Re: Text file
Re: Text file
- Subject: Re: Text file
- From: Raffael Cavallaro <email@hidden>
- Date: Sun, 18 Apr 2010 09:14:05 -0400
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@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden