Re: Problem with rawurlencode and euro sign.
| From: | Mathijs van Veluw | Date: | Thu, 27 Jul 2006 10:50:09 +0000 |
| Subject: | Re: Problem with rawurlencode and euro sign. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-239839@lists.php.net to get a copy of this message | ||
Thx for that website :).
It helped.
I Think the server i am sending to is on windows, and i changed the encoding to windows-1252 and that has it on %80.
Going to contact the company to ask this :).
Thx for the link.
Jochem Maas wrote:
likely to be something to do with the fact that the euro character does not exist in ISO8859-1. maybe this page helps: http://www.gar.no/html/euro.htm Mathijs wrote:--- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0630-2, 07/26/2006 Tested on: 7/27/2006 12:50:09 PM avast! - copyright (c) 1988-2006 ALWIL Software. http://www.avast.comHello 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--- avast! Antivirus: Inbound message clean. Virus Database (VPS): 0630-2, 07/26/2006 Tested on: 7/27/2006 12:43:09 PM avast! - copyright (c) 1988-2006 ALWIL Software. http://www.avast.com