mclow / String-Algo

Noodling with Boost.StringAlgo
3 stars 0 forks source link

url encode/decode #6

Open OlafvdSpek opened 7 years ago

OlafvdSpek commented 7 years ago

URLs are frequently used. Having URL encode/decode functions for strings would be a nice building block.

void url_encode(string& out, string_view in);
bool url_decode(string& out, string_view in); // returns !error