cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_easy_escape question

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 19 Apr 2006 00:04:28 +0200 (CEST)

On Wed, 19 Apr 2006, Surfman19_at_gmx.at wrote:

> Hallöchen 123 curl test
>
> http://nopaste.info/index.php encodes it to:
> Hall%C3%B6chen+123+curl+test <--- which curl_escape sould i use for?
>
> http://www.rafb.net/paste/ encodes it to:
> Hall%F6chen+123+curl+test <--- which curl_escape sould i use for?

curl_escape URL-encodes a given string. If you need something else, then you
need to do somehing else.

curl_escape will not convert spaces to '+' but to %20.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-04-19