accented characters breaks json_encode() in PHP

后端 未结 2 619
伪装坚强ぢ
伪装坚强ぢ 2021-01-21 10:28

I have an array which one of the keys contains some HTML code. I am json_encoding this array for returning. I have recently noticed that json_encode() returns \'null\' if the ht

2条回答
提交回复
热议问题