Decode an encoded query string in C

Category: C & C++ - Miscellaneous

Here's a little function to decode part of a query string that has been encoded as per the HTML specification with %xx notation, where xx is the hexidecimal representation of a character.Be warned that this function modifies the contents of the string you pass as the argument! Date: 03 February, 2012


Decode Query - Encoded String - C Snippets - Decode - Query - Encoded

Homepage: http://snippets.dzone.com/

Developer: snippets.dzone.com

License: Freeware

Operating System: All

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

Some semi-Posix compliant macros for DOS/Windows/NT.

developer Developer: snippets.org
license License: Freeware
operating systems Operating System: All


Presented with hex such as 0x12345abc perhaps there is a spot in there which represents an ascii char - such as 53 would be 'S'.

developer Developer: snippets.dzone.com
license License: Freeware
operating systems Operating System: All


A program to test libCoroutine.

developer Developer: snippets.dzone.com
license License: Freeware
operating systems Operating System: Windows, Linux


If you want to use multiple blocks of shared memory in a single process you might need to pass a different id to ftok() for each one.

developer Developer: snippets.dzone.com
license License: Freeware
operating systems Operating System: Windows, Linux


This code count the chars of a file.

developer Developer: snippets.dzone.com
license License: Freeware
operating systems Operating System: Windows, Linux


The XOR swap algorithm is an inefficient method of swapping two variables.

developer Developer: snippets.dzone.com
license License: Freeware
operating systems Operating System: Windows, Linux


It simulates behavior of clear/cls.

developer Developer: snippets.dzone.com
license License: Freeware
operating systems Operating System: Windows, Linux


This web.

developer Developer: dwfaq.com
license License: Freeware
operating systems Operating System: All


Countdown asp Script - Using the DateDiff VBScript function you can create a countdown to a particular date.

developer Developer: codefixer.com
license License: Freeware
operating systems Operating System: All