cURL / Mailing Lists / curl-and-php / Single Mail


Re: Curl encoding problem

From: Daniel Stenberg <>
Date: Mon, 26 Feb 2001 08:23:29 +0100 (MET)

On Sun, 25 Feb 2001 wrote:

> I have an encoding problem using Curl in PHP 4.0.4.
> Using Curl I post 3 fields from inside the PHP script. Value 1 and 2 are
> "normal" non-spaced alphanumric chars and value 3 is XML formated.
> It seems that Curl doesn't like Scandinavian characters.
> How do I get around this?

I've heared others describe similar problems before. This is not a curl
problem (curl as in libcurl and the stuff I've written) but a problem in the
PHP module named curl. It seems as if the glue layer is also converting input

libcurl does not convert any data this way, it posts whatever you pass to it
and return whatever the server returned. libcurl doesn't care one bit for
charsets or similar.

It would be really good if someone could dig a little in the curl modules
source code to see how the input post strings are treated...

  Daniel Stenberg -- curl project maintainer --
Curl-and-php mailing list
Received on 2001-02-26