Re: Best way to save a simple text file?
Re: Best way to save a simple text file?
- Subject: Re: Best way to save a simple text file?
- From: "I. Savant" <email@hidden>
- Date: Fri, 16 Nov 2007 13:05:43 -0500
> However, I was wondering... is it really necessary for me to convert my
> string to an NSData object before saving it? Isn't there any other way
> to do it? Also, what if I would like to support multiple languages (i.e.
> multiple encoding??)... right now the string is converted to UTF8...
How about NSString's -writeToURL:atomically:encoding:error: (10.4
and above only)?
--
I.S.
_______________________________________________
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