Does anyone know of any good C++ code that does this
From stackoverflow
Bill Ataras
-
CGICC includes methods to do url encode and decode. form_urlencode and form_urldecode
J.J. : anything free is good.J.J. : you just sparked a decent conversation in our office with that library.From idontwanttortfm -
Url encoding/decoding algorithm is not that difficult.
I'd start from the specification:
If you want pre-cooked code, just search the Internets:
http://www.google.it/search?hl=it&q=Encode+Decode+URLs+in+C%2B%2B&meta=
(yep, that address is url-encoded)
From friol -
Answering my own question...
libcurl has this: http://curl.haxx.se/libcurl/c/curl_escape.html
From Bill Ataras -
And source code...
http://www.codeguru.com/cpp/cpp/string/conversions/article.php/c12759
From Bill Ataras
0 comments:
Post a Comment