curl-and-php
Re: Curl encoding problem
Date: Mon, 26 Feb 2001 08:23:29 +0100 (MET)
On Sun, 25 Feb 2001 nis_at_ubernissen.dk 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
data.
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 -- http://curl.haxx.se/ _______________________________________________ Curl-and-php mailing list Curl-and-php_at_lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/curl-and-phpReceived on 2001-02-26