NYCPHP Meetup

NYPHP.org

[nycphp-talk] htmlentities charset bug

Cliff Hirsch cliff at pinestream.com
Wed Jan 23 10:21:49 EST 2008


On 1/23/08 10:10 AM, "csnyder" <chsnyder at gmail.com> wrote:
> On Jan 22, 2008 4:11 PM, Cliff Hirsch <cliff at pinestream.com> wrote:
> 
>>  Reason: Invalid multibyte sequence in argument
>> 
>>  Root cause: cut and pasting text from MS Word in XP.
> 
> Neat. Any idea what the offending character or sequence was?
Oh yeah, curly single and double quotes, or whatever the proper name for
them is.

The sequence was:
1. Wrote FAQ in Word on Windows XP.
2. Cut and pasted entries into database (can't recall whether it was through
my app or phpMyAdmin)
3. Errors start appearing.

Those curly single and double quotes are killers.





More information about the talk mailing list