Re: [Mysql-cocoa-users] TEXT fields as NSData?
Brought to you by:
sergecohen
From: John G. <jo...@jl...> - 2004-08-06 17:26:05
|
BLOB is easy: Since the contents of a BLOB are unknown and up to the implementor (BINARY Large Object), it can only really be returned as raw data (ie. NSData) TEXT is trickier: I think there was some issue earlier on in the dev of the Framework where it was tricky to treat a TEXT object at all (in fact I am not sure it is supported in the version of the framework I am using at all) Potentially to do with string encoding? ie. what character set do you use to convert the TEXT object to when you put it into an NSString. I think someone else may be able to shed some light on this issue as I haven't been using TEXT types in my applications JOhn On 6 Aug 2004, at 17:25, Aaron Jacobs wrote: > Can someone explain to me why TEXT and BLOB fields in the database are > turned into NSData objects by SMySQL? Why not NSString? > > Aaron > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source > Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Mysql-cocoa-users mailing list > Mys...@li... > https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users > |