Re: determining HTML text encoding
Re: determining HTML text encoding
- Subject: Re: determining HTML text encoding
- From: Jens Alfke <email@hidden>
- Date: Fri, 29 Jan 2010 15:30:56 -0800
On Jan 29, 2010, at 12:33 PM, Rainer Standke wrote:
> NSLog(@"%@", [frame.DOMDocument.characterSet class]);
> I get an error: request for member 'characterSet' in something not a structure or union
You may need to #import the header for DOMDocument.
> As far as I can tell I am trying to use Javascript here, no?
No, the DOM API is platform-independent and you can access it from Objective-C too. But yes, it is the same API and objects that JavaScript running on those pages would access; this can be very useful when making mixed web/native apps.
—Jens_______________________________________________
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