转换为jsonString [英] Converting to jsonString
本文介绍了转换为jsonString的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试将列表转换为包含一系列中文字符的json sting。但我没有看到实际的中文文本,而是看到[???]。有没有办法避免这种情况?
谢谢。
Hi,
I am trying to convert a list to a json sting, that contains a series of Chinese characters. But instead of seeing the actual Chinese text, I am seeing [???]. Is there a way to avoid that?
Thank you.
推荐答案
最好使用unicode编码 - http://tools.ietf.org/html/rfc4627#section-3 [ ^ ]。
Its best to use unicode encoding - http://tools.ietf.org/html/rfc4627#section-3[^].
这篇关于转换为jsonString的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文