FROM : I. Savant
DATE : Fri Nov 16 19:05:43 2007
> 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.
DATE : Fri Nov 16 19:05:43 2007
> 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.
| Related mails | Author | Date |
|---|---|---|
| Jean-Nicolas Joliv… | Nov 16, 19:02 | |
| I. Savant | Nov 16, 19:05 | |
| Jean-Nicolas Joliv… | Nov 16, 19:19 | |
| Ali Ozer | Nov 16, 19:23 | |
| Douglas Davidson | Nov 16, 19:25 | |
| I. Savant | Nov 16, 19:30 | |
| Aki Inoue | Nov 16, 19:31 | |
| Jean-Nicolas Joliv… | Nov 16, 20:35 | |
| Martin Wierschin | Nov 17, 01:56 | |
| Ali Ozer | Nov 17, 02:21 | |
| Martin Wierschin | Nov 17, 04:37 |






Cocoa mail archive

