http://www.perlmonks.org?node_id=1046311


in reply to Decode perl cgi response in C

Is it possible for a C program do decode this without requiring a browser?

Your question could be rephrased as "Is it possible for one program to do part of the same job that another program does?"

the answer is "yes".