Re: Not so long filenames
Re: Not so long filenames
- Subject: Re: Not so long filenames
- From: "Sean McBride" <email@hidden>
- Date: Tue, 14 Oct 2008 17:43:15 -0400
- Organization: Rogue Research
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@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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