• 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: determining HTML text encoding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: determining HTML text encoding
      • From: Rainer Standke <email@hidden>
References: 
 >determining HTML text encoding (From: Rainer Standke <email@hidden>)
 >Re: determining HTML text encoding (From: Jens Alfke <email@hidden>)
 >Re: determining HTML text encoding (From: Rainer Standke <email@hidden>)

  • Prev by Date: Re: Indentation bug in NSOutlineView with source-list highlighting?
  • Next by Date: Tabbed windows
  • Previous by thread: Re: determining HTML text encoding
  • Next by thread: Re: determining HTML text encoding
  • Index(es):
    • Date
    • Thread