I've got a web based xml file in iso-8859-1 encoding that I'm trying
to read into an NSXMLDocument.
I've got the following code, but I can't seem to make it work? (I've
tried all manner of combinations)
//create the url
NSString *urlString = [NSString stringWithFormat:
On Dec 6, 2008, at 4:35 AM, Amy Gibbs wrote:
I've got a web based xml file in iso-8859-1 encoding that I'm trying
to read into an NSXMLDocument.
I've got the following code, but I can't seem to make it work? (I've
tried all manner of combinations)
//create the url
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.
Sorry,
On 6 Dec 2008, at 12:58, Ricky Sharp wrote:
You can probably simplify this a bit by using
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
In my project details I've got 10.4 (Universal) selected, I've got
xcode set up to do that autocomplete type thing, and it doesn't come
up with encoding for NSString initWithContentsoOfURL, it does have
encodingOnlyStreamAction?
On 6 Dec 2008, at 13:24, Ricky Sharp wrote:
On Dec 6,
On Sat, Dec 6, 2008 at 8:49 AM, Amy Gibbs [EMAIL PROTECTED] wrote:
In my project details I've got 10.4 (Universal) selected, I've got xcode set
up to do that autocomplete type thing, and it doesn't come up with encoding
for NSString initWithContentsoOfURL, it does have encodingOnlyStreamAction?