Problem with rawurlencode and euro sign.
| From: | Mathijs | Date: | Thu, 27 Jul 2006 10:20:36 +0000 |
| Subject: | Problem with rawurlencode and euro sign. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-239838@lists.php.net to get a copy of this message | ||
Hello there,
I have a problem with rawurlencode().
I want to have the euro sign € to be sent by post.
To do this, first rawurlencode() encodes all the chars.
But for some reason rawurlencode encodes it to %3F or %A4.
Which i think is logical becouse that is the right position in the charset.
But i need it to be %80.
When i use rawurldecode('%80'); and put the browsers encoding to ISO-8859-* it does work.
i Realy see the euro sign.
So why does rawurlencode() not encodes it tho this?.
Thx in advance.
Mathijs.
---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0630-2, 07/26/2006
Tested on: 7/27/2006 12:20:37 PM
avast! - copyright (c) 1988-2006 ALWIL Software.
http://www.avast.com