Re: Reading in XML with iso-8859-1 encoding?
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