NYCPHP Meetup

NYPHP.org

[nycphp-talk] htmlentities charset bug

Cliff Hirsch cliff at pinestream.com
Tue Jan 22 16:11:46 EST 2008


Just an FYI to people for an obscure bug to be aware of -- one I though I
licked months ago.

Escaping output with htmlentities threw a warning and returned an empty
string.

Reason: Invalid multibyte sequence in argument

Root cause: cut and pasting text from MS Word in XP.

You have been warned.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20080122/e45e38c5/attachment.html>


More information about the talk mailing list