Posted: Sun Apr 02, 2006 11:35 pm
Hi Chris - nice to know that you take part in this forum!
I just had a read of the PHP Manual which says:
Is there still the need to define the character set used in the conversion?
Also, can you give an example in which the importance of ENT_QUOTES is highlighted.
Thanks all for your help.
I just had a read of the PHP Manual which says:
So, if the site's headers already delcare:Like htmlspecialchars(), it takes an optional third argument charset which defines character set used in conversion. Support for this argument was added in PHP 4.1.0. Presently, the ISO-8859-1 character set is used as the default.
Code: Select all
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>Also, can you give an example in which the importance of ENT_QUOTES is highlighted.
Thanks all for your help.