• 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: Reading in XML with iso-8859-1 encoding?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading in XML with iso-8859-1 encoding?


  • Subject: Re: Reading in XML with iso-8859-1 encoding?
  • From: Ricky Sharp <email@hidden>
  • Date: Sat, 6 Dec 2008 07:24:57 -0600


On Dec 6, 2008, at 7:17 AM, Amy Gibbs wrote:

Is this 10.5 only? It doesn't seem to be recognised by xcode 2.5, and it doesn't run on my machine at all. I should have mentioned I'm targeting 10.4 with this.

stringWithContentsOfURL:encoding:error is in 10.4 and later. Do you have the proper SDK specified (e.g. 10.4 universal?)



On 6 Dec 2008, at 12:58, Ricky Sharp wrote:

You can probably simplify this a bit by using stringWithContentsOfURL:encoding:error. Note 'encoding' and not 'usedEncoding'. The former allows you to specify the encoding. In this case, use the constant NSISOLatin1StringEncoding (which is ISO_8859-1).

___________________________________________________________ Ricky A. Sharp mailto:email@hidden Instant Interactive(tm) http://www.instantinteractive.com



_______________________________________________

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


  • Follow-Ups:
    • Re: Reading in XML with iso-8859-1 encoding?
      • From: Amy Gibbs <email@hidden>
References: 
 >Reading in XML with iso-8859-1 encoding? (From: Amy Gibbs <email@hidden>)
 >Re: Reading in XML with iso-8859-1 encoding? (From: Ricky Sharp <email@hidden>)
 >Re: Reading in XML with iso-8859-1 encoding? (From: Amy Gibbs <email@hidden>)

  • Prev by Date: Re: Reading in XML with iso-8859-1 encoding?
  • Next by Date: Re: Reading in XML with iso-8859-1 encoding?
  • Previous by thread: Re: Reading in XML with iso-8859-1 encoding?
  • Next by thread: Re: Reading in XML with iso-8859-1 encoding?
  • Index(es):
    • Date
    • Thread