Re: Tiger Decoding problem
Re: Tiger Decoding problem
- Subject: Re: Tiger Decoding problem
- From: Nicholas Crosbie <email@hidden>
- Date: Mon, 30 May 2005 10:56:10 +1000 (EST)
Thanks Fred,
But when I try your suggestion (once again in fact) I
get the following Run Log:
[Session started at 2005-05-30 10:46:08 +1000.]
2005-05-30 10:46:08.979 test2[564] *** +[NSString
stringWithContentsOfFile:encoding:]: selector not
recognized
2005-05-30 10:46:08.983 test2[564] *** Uncaught
exception: <NSInvalidArgumentException> *** +[NSString
stringWithContentsOfFile:encoding:]: selector not
recognized
test2 has exited due to signal 5 (SIGTRAP).
Any thoughts on that,
Nick
--- Frederick Cheung <email@hidden> wrote:
>
> On 30 May 2005, at 01:24, Nicholas Crosbie wrote:
>
> > Hi,
> >
> > Newbie problems. I'm trying to read in and
> convert
> >
> snip
> > What's wrong with my code (see below)?
> >
> [snip]
> > NSString *contents = [NSString
> > stringWithContentsOfFile:path NSStringEncoding
> > encoding:NSUTF8StringEncoding];
> >
> >
> For some reason you've typed NSStringEncoding where
> there should be
> nothing (ie [NSString stringWithContentsOfFile:path
>
> encoding:NSUTF8StringEncoding];)
>
> Fred
>
Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden