On 10/14/08 5:28 PM, Gerriet M. Denkmann said: >But in the program below there seems to exist some other limit (at >least on 10.4.11 Tiger). >Where is this documented? >Or what am I doing wong? > > >#import <Cocoa/Cocoa.h> > >int main (int argc, const char * argv[]) >{ > NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; > > NSData *data = [ @"Some Data" dataUsingEncoding: >NSUTF8StringEncoding ]; > NSFileWrapper *aWrapper = [ [ NSFileWrapper alloc ] >initRegularFileWithContents: data ]; > NSString *f2 = [ NSString stringWithUTF8String: // 64 * > DESERET >CAPITAL LETTER LONG I > > "??????????????? >?????????????????? >?????????????????? >?????????????"// 64 > ];
Are you trying to create a constant NSString with UTF8 characters in your source? Is that what all the '?' chars are? You can only do that in 10.5. -- ____________________________________________________________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]