Characters missing from CURL posts
| From: | Andrew Milne | Date: | Wed, 21 Jun 2006 14:49:32 +0000 |
| Subject: | Characters missing from CURL posts | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-17528@lists.php.net to get a copy of this message | ||
Hi there,
I'm using php 5.1.4 standalone to run some scripts. I have a problem where I am submitting £ (uk pound) sign as part of an HTTP post to another server. I am urlencoding the data before adding it as the CURLOPT_POSTFIELDS option and when I check the urlencoded string, I can see the %A3 representing the £ sign in the post. Is there something I could be doing wrong which is causing this to be stripped before sending it to the other server?
Any help would be much appreciated.
Regards,
Andrew