Is there an equivalent of curl_easy_escape()?
-
You can also take a look at QUrl::toPercentEncoding() which takes a QString and returns a QByteArray. Looks like this works on strings without expecting a valid url.
-
What does curl_easy_escape has to do with json?
This function converts the given input string to a URL encoded string and returns that as a new allocated string
--> Use QUrl
-
You can also take a look at QUrl::toPercentEncoding() which takes a QString and returns a QByteArray. Looks like this works on strings without expecting a valid url.