Re: Problem with rawurlencode and euro sign.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At:

http://es2.php.net/manual/en/function.htmlentities.php

it says that ISO-8859-15 adds the Euro sign


----- Original Message ----- From: "Jochem Maas" <jochem@xxxxxxxxxxxxx>
To: "Mathijs" <m.v.veluw@xxxxxxxxxx>
Cc: <php-general@xxxxxxxxxxxxx>
Sent: Thursday, July 27, 2006 12:39 PM
Subject: Re:  Problem with rawurlencode and euro sign.


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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux