• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Text file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Text file (From: Henrietta Read <email@hidden>)
 >Re: Text file (From: Jens Alfke <email@hidden>)
 >Re: Text file (From: Henrietta Read <email@hidden>)

  • Prev by Date: Re: How to copy something to the pasteboard in a service call
  • Next by Date: Re: How do I get a file reference w/o relying on the path?
  • Previous by thread: Re: Text file
  • Next by thread: Re: Text file
  • Index(es):
    • Date
    • Thread