What is the best collation when using JSON and some special characters

This question already has an answer here:

  • UTF-8 all the way through 14 answers

  • For all those wondering how to solve the problem with french characters and JSON trust me I've tried everything these days the only thing that works is :

    echo json_encode(array("server_response"=>$response), JSON_UNESCAPED_UNICODE);
    

    here's the link for more information http://php.net/manual/fr/function.json-encode.php thank god for that, I lost hope for a second

    链接地址: http://www.djcxy.com/p/67828.html

    上一篇: 无效的列名称,MS SQL Server中的列重音

    下一篇: 使用JSON和一些特殊字符时,最好的排序规则是什么?