ok, i appologize for the subject, i'm a newbie coder, and don't really know my way thru alot of this. Anyway, could anyone help me with this little scenario:
i have a form on a webpage, the webpage is driven by a C compiled program that i have been working on, the form passes the arguments on a "query string".. but all non alpha-numeric charactors are converted to %hexvalue.
i was wondering if there was a simpler way to strip off the % sign, take the 2 hex digits that follow the %, and print them back out as the characters they are supposed to represend.. per say,
Code:
mywebsite.org/cgi-bin/mycgi?text=blah+blah+d%27oh%00fix+me
blah blah blah d'oh
fix me
^--- something along the lines of that.
i've tried a few methods, all with undesireable results or segfaults.