Re: Convert Charatcers
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.