Forum Moderators: coopster
I've save the content in a flatfile an read it with file_get_contents() and then encode it to JSON with json_encode(), and this problem happen.
I'm also try to copy the content to my script and directly encode it with json_encode(), but this problem not happen.
I've the solution for this with encode it with base64 before it encoded to JSON, but I think this is not effective way, because it must encode it in serverside and then decode it in clentside(I've use JSON for transfer data on AJAX).
Please tell me some effective way to fix this.
What happen in json_encode(), please tell me some condition can make json_encode() do that.
Thanks in advance and Sorry for my poor English.
Have you discovered your solution yet?