[FX.php List] Trying to send email with lots of accented letters
Andrew Denman
adenman at tmea.org
Tue Aug 14 08:57:42 MDT 2007
Bob,
It looks like your problem is solved, but I was just curious if
html_entity_decode was included in all the HTML functions? I think your
fix is better since it wont affect the other HTML entities, and therefore
reduce the risk of user submitted data running unsafe HTML, but it seems
like the function should have solved the problem:
http://us2.php.net/manual/en/function.html-entity-decode.php
Andrew Denman
_____
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Bob Patin
Sent: Monday, August 13, 2007 9:26 PM
To: FX.php Discussion List
Subject: Re: [FX.php List] Trying to send email with lots of accented
letters
But it's not a question of displaying on the page, which works perfectly.
I'm having a problem when I send emails from these query results...
I tried all the HTML functions (I think), but none fixed the problem.
On Aug 13, 2007, at 9:09 PM, Nick wrote:
well, <http://www.php.net/html_entity_decode>
http://www.php.net/html_entity_decode might be a place to start looking.
either that or str_replace the & to &? It really depends on your data,
as well as how much you trust your data..
your main problem is the &#233; needs to be just é (without the
"amp;" ) to display on the page as é.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20070814/da10e1de/attachment.html
More information about the FX.php_List
mailing list