• 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: Convert Charatcers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Convert Charatcers


  • Subject: Re: Convert Charatcers
  • From: Lorenzo <email@hidden>
  • Date: Tue, 09 Mar 2004 19:32:20 +0100

I have to get some information from an html page and show it to the user as
NSString in a NSView. So it's better I don't lose anything while the
conversion (e.g. quotes, special characters).

Please Alastair, if I do as cricket says, will I lose something?


Best Regards
--
Lorenzo
email: email@hidden

> From: Alastair Houghton <email@hidden>
> Date: Tue, 09 Mar 2004 17:41:03 +0000
> To: cricket <email@hidden>
> Cc: Lorenzo <email@hidden>, email@hidden
> Subject: Re: Convert Charatcers
>
> On 9 Mar 2004, at 17:32, cricket wrote:
>
>> One (probably) simpler way to do this would be to use the
>> initWithHTML: method on NSAttributedString.
>
> Yes, except that the conversion is lossy. Whether this is a problem or
> not very much depends on what result Lorenzo wants to do with the
> results (which he hasn't said).
>
> Kind regards,
>
> Alastair.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Convert Charatcers
      • From: Alastair Houghton <email@hidden>
References: 
 >Re: Convert Charatcers (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Re: NSDocument Deferred loading
  • Next by Date: Re: Convert Charatcers
  • Previous by thread: Re: Convert Charatcers
  • Next by thread: Re: Convert Charatcers
  • Index(es):
    • Date
    • Thread