Re: Problem with rawurlencode and euro sign.
| From: | Jochem Maas | Date: | Thu, 27 Jul 2006 10:39:52 +0000 |
| Subject: | Re: Problem with rawurlencode and euro sign. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-239840@lists.php.net to get a copy of this message | ||
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:
> 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
>