Re: html entities

From: Date: Fri, 04 Mar 2005 19:09:33 +0000
Subject: Re: html entities
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17844@lists.php.net to get a copy of this message
fluidliqatyahoodotcom wrote:
I guess it is not the characters set on the page that matters.
Yes, it does. If the browser considers your page to be iso-8859-1 charset, and you input characters that do not exist in iso-8859-1, these are converted to their entities. So in php you receive the entities, and you should see them in mysql(1) client. If you put these entities as values, htmlentities() is used to display the value, and you get what you see.

« previous php.pear.general (#17844) next »