Describe the bug
When I use select to get json with Chinese text from my database,it has some encoding error so that the result is hard to use,just like this:
The unicode character in the title field is usually converted automatically, but the /" is a big problem!
Then I tried to use mysqli to get the same text and it returns exactly the right result,which has no unicode chars at all.
Describe the bug When I use
select
to get json with Chinese text from my database,it has some encoding error so that the result is hard to use,just like this:The unicode character in the title field is usually converted automatically, but the
/"
is a big problem! Then I tried to usemysqli
to get the same text and it returns exactly the right result,which has no unicode chars at all.Information
Detail Code
Expected output