Re: Problem with rawurlencode and euro sign.

From: Date: Thu, 27 Jul 2006 11:23:44 +0000
Subject: Re: Problem with rawurlencode and euro sign.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-239841@lists.php.net to get a copy of this message
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@iamjochem.com> To: "Mathijs" <m.v.veluw@smscity.nl> Cc: <php-general@lists.php.net> Sent: Thursday, July 27, 2006 12:39 PM Subject: Re: [PHP] 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


« previous php.general (#239841) next »