当前位置: 动力学知识库 > 问答 > 编程问答 >

php - Cakephp json output: Unable to store and output UTF8 character using _serialize key

问题描述:

I am using cakephp json view. Using _serialize key to output my parameters. Currently, everything works perfectly. However, when it comes to a UTF8 character(chinese character), _serialize key output my character as other string.

I've added encoding => 'UTF8' in my database config file.

Any idea how can i get _serialize to output chinese character?

分享给朋友:
您可能感兴趣的文章:
随机阅读: