
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlug] Malformed UTF-8 in JSON? [SOLVED]
- Date: Thu, 15 Jul 2010 12:13:48 +0900
 
- From: Dave M G <dave@example.com>
 
- Subject: Re: [tlug] Malformed UTF-8 in JSON? [SOLVED]
 
- References: <4C3E2FD2.4000608@example.com>
 
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US;	rv:1.9.1.10) Gecko/20100527 Thunderbird/3.0.5
 
TLUG,
I got an answer on the PHP mailing list.
It seems my use of stripslashes() was the problem. I've removed it and 
the code works.
However, it seems that when I send JSON data from a Javascript file, 
stripslashes() is necessary. That's why I had it there. I'm not entirely 
sure what's going on there, so obviously more experimentation is needed.
Thanks for the support in any case.
--
Dave M G
Home |
Main Index |
Thread Index