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

WBOY
Release: 2016-08-18 09:16:29
Original
980 people have browsed it

<code>echo json_encode($json_data,JSON_UNESCAPED_UNICODE);  </code>
Copy after login
Copy after login

Even adding the JSON_UNESCAPED_UNICODE parameter still doesn’t work.

Reply content:

<code>echo json_encode($json_data,JSON_UNESCAPED_UNICODE);  </code>
Copy after login
Copy after login

Even adding the JSON_UNESCAPED_UNICODE parameter still doesn’t work.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template