On Apr 5, 2009, at 5:52 PM, Stuart Malin wrote:
Thanks, but I understand the difference perfectly, but it's
irrelevant.
Sorry, I.S., I didn't mean to imply that you didn't understand the
difference -- just wanted to be clear for others following this
thread as the distinction between perc
On Apr 5, 2009, at 11:32 AM, I. Savant wrote:
On Apr 5, 2009, at 4:35 PM, Stuart Malin wrote:
The source is not HTML tagged, but contains HTML entities.
see:
http://www.w3schools.com/tags/ref_entities.asp
http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references
So, for
On Apr 5, 2009, at 4:35 PM, Stuart Malin wrote:
The source is not HTML tagged, but contains HTML entities.
see:
http://www.w3schools.com/tags/ref_entities.asp
http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references
So, for instance, I want to convert "-->" to "-->"
No
On Sun, Apr 5, 2009 at 2:56 PM, Stuart Malin wrote:
> I need to convert strings that contain HTML entities (e.g., ’ or
> gt;). I can't seem to find an NSString method to do so (not that I
> sometimes don't easily miss the obvious). So, I created a category on
> NSString and made two trivial m
On Apr 5, 2009, at 10:19 AM, I. Savant wrote:
On Apr 5, 2009, at 3:56 PM, Stuart Malin wrote:
I need to convert strings that contain HTML entities (e.g.,
’ or gt;).
To what?
If you want it to be an attributed string, there's always the -
[NSAttributedString initWithHTML:...] methods
On Apr 5, 2009, at 10:22 AM, Jack Carbaugh wrote:
it would have helped if I read & digested the WHOLE message. my
apologies ! what i referenced and what he wanted were two different
things.
my apologies,
jack
no worries.
this notion of escaping HTML entities seems often confused with U
The HTML entities that Stuart is talking about aren't "percent
escapes", and aren't replaced by -
stringByReplacingPercentEscapesUsingEncoding:.
- Bryan
On Apr 5, 2009, at 4:19 PM, Jack Carbaugh wrote:
Why don't you just use the features of NSString ?
stringByReplacingPercentEscapesUsingEn
it would have helped if I read & digested the WHOLE message. my
apologies ! what i referenced and what he wanted were two different
things.
my apologies,
jack
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin request
Why don't you just use the features of NSString ?
stringByReplacingPercentEscapesUsingEncoding:
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html#/
/apple_ref/doc/uid/2154-BCIECHFE
On Apr 5, 2009, at 3:56 PM, Stuart Malin wr
On Apr 5, 2009, at 3:56 PM, Stuart Malin wrote:
I need to convert strings that contain HTML entities (e.g., ’
or gt;).
To what?
If you want it to be an attributed string, there's always the -
[NSAttributedString initWithHTML:...] methods (in the
NSAttributedString AppKit additions)
I need to convert strings that contain HTML entities (e.g., ’
or gt;). I can't seem to find an NSString method to do so (not that
I sometimes don't easily miss the obvious). So, I created a category
on NSString and made two trivial methods that take advantage of toll-
free bridging betw
11 matches
Mail list logo