我正在尝试在我的 android 应用程序中显示utf-8
字符ListView
,但出现的是一系列问号??????这是输出的样子:
[{"ImageID":"1","ItemID":"Item1","ItemID_AM":"????
???","ImagePath":"http:\/\/10.0.2.2\/android\/Pagination\/pics\/pic_a.png"},{"ImageID":"2","ItemID":"Item2","ItemID_AM":"????
????","ImagePath":"http:\/\/10.0.2.2\/android\/Pagination\/pics\/pic_b.png"},...
我已经用过:header('content-type: application/json; charset=utf-8');
但没有任何改变。有人可以帮忙吗?
谢谢。