• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Tiger Decoding problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tiger Decoding problem


  • Subject: Re: Tiger Decoding problem
  • From: Frederick Cheung <email@hidden>
  • Date: Mon, 30 May 2005 01:30:51 +0100


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
_______________________________________________
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


References: 
 >Tiger Decoding problem (From: Nicholas Crosbie <email@hidden>)

  • Prev by Date: Tiger Decoding problem
  • Next by Date: Re: Tiger Decoding problem
  • Previous by thread: Tiger Decoding problem
  • Next by thread: Re: Tiger Decoding problem
  • Index(es):
    • Date
    • Thread