stringWithContentsOfURL:usedEncoding:error: Fails on Mac Roman?
stringWithContentsOfURL:usedEncoding:error: Fails on Mac Roman?
- Subject: stringWithContentsOfURL:usedEncoding:error: Fails on Mac Roman?
- From: Seth Willits <email@hidden>
- Date: Sat, 27 Aug 2005 19:47:31 -0700
I have a file in Mac Roman that BBEdit, SubEthaEdit, and other apps
read fine, but trying to read it with
stringWithContentsOfURL:usedEncoding:error: returns nil and says "The
file may have been saved using a different text encoding, or it may
not be a text file."
I thought the whole point was to read the string tell you which
encoding it used to read it? Why is it failing?
--
Seth Willits
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden