I have a string that contains encoded URL data, it's not actually a real URL (in the form http://www.host.com/path/path), it's just a string encoded in the url format (with escap…
Quote:
Originally posted by exrae:
<STRONG>I have a string that contains encoded URL data, it's not actually a real URL (in the form http://www.host.com/path/path)…
I'm using Cocoa and Objective-C, I can create an NSURL with the string, but there seem only to be methods that can extract host etc., not decode the whole string... I would write i…
There are some CGI libraries in C that have to do this sort of parsing. Try looking at cgi-lib or cgic. I was working on an Objective-C CGI library at some point, but haven't had…
Well I've decided to write my own, replacing the '+' characters with spaces is obviously simple, but I need to convert occurrences of %XX (where XX is the ASCII value, in hex) to t…
CFURL.h (in CoreFoundation) has some functions for encoding and decoding URL text. Others can be found in the open-source Omni frameworks: the stuff you'll find useful is split bet…
I tried using CFURL and CFString to decode the URL data, but I'm having a problem..
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR>…