On Tue, Aug 12, 2008 at 1:45 AM, Mike <[EMAIL PROTECTED]> wrote:
> I think what I want is -stringByAddingPercentEscapesUsingEncoding:
That is the exact method that Ken referred to.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
P
That's sort of what I was asking, except I need the reverse - not
removing escape chars and replacing them with "real" equivalents - I
need to remove single real characters that are invalid in URLs and
replace them with the equivalent escapes.
For example, the equivalent escape character for "
Hi Mike,
I'm not totally sure what you're asking, but you may want to look in
the documentation for -[NSString
stringByAddingPercentEscapesUsingEncoding:].
"Returns a representation of the receiver using a given encoding to
determine the percent escapes necessary to convert the receiver into a
le
Is there a way to scan an entire XML doucment and NSURL to make sure it
contains only valid characters?
I am thinking of the case of web services apps where large chunks of XML
data get appended to the end of the URL before it is sent to the server.
Spaces for example don't conform to RFC 180