On Wed, Apr 20, 2022 at 04:41:22PM +0200, Andreas Falkenhahn via curl-library 
wrote:
> is there any convenient way of escaping a URL so that it can be passed to 
> CURLOPT_URL?

The curl_url API can do this, specifically, the CURLU_URLENCODE option.
curl_url is the preferred means of parsing URLs in libcurl-using programs.

Dan
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to