Special characters stripped by mySQL/PHP JSON
- by Will Gill
Hi,
I have a simple PHP script to extract data from a mySQL database and encode it as JSON. The problem is that special characters (for example German ä or ß characters) are stripped from the JSON response. Everything after the first special character for any single field is just stripped.
The fields are set to utf8_bin, and in phpMyAdmin the…