cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_easy_escape question

From: <Surfman19_at_gmx.at>
Date: Wed, 19 Apr 2006 00:00:21 +0200 (MEST)

hello,

i have the string:

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?

my code:
--------
std::string text;
std::string textencoded;
text = "Hallöchen 123 curl test";
textencoded = curl_escape(text.c_str(), text.length());

i get:
Hall%F6chen%20123%20curl%20test <---- why %20 for ' ' ... i need a '+' !!

greets

-- 
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
Received on 2006-04-19