Home > Article > Backend Development > The datatables server uses json. The search can search in English, but an error will be reported in Chinese. It feels like a json encoding problem, please solve it
<code>echo json_encode($json_data,JSON_UNESCAPED_UNICODE); </code>
Even adding the JSON_UNESCAPED_UNICODE parameter still doesn’t work.
<code>echo json_encode($json_data,JSON_UNESCAPED_UNICODE); </code>
Even adding the JSON_UNESCAPED_UNICODE parameter still doesn’t work.