cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_easy_escape question

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 18 Apr 2006 15:21:49 -0700

On Wed, Apr 19, 2006 at 12:00:21AM +0200, Surfman19_at_gmx.at wrote:
> 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?

This is probably the string URL-encoded in UTF-8

> http://www.rafb.net/paste/ encodes it to:
> Hall%F6chen+123+curl+test <--- which curl_escape sould i use for?

and this is likely the same encoded in ISO-8859-1. The character encoding
you use to input the string will determine the URL-encoded value.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-04-19