Android版不显示特殊字符 [英] Android not displaying special characters
本文介绍了Android版不显示特殊字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我传递从PHP字符到Android。性格我传球的 0
I am passing a character from PHP to android. Character I am passing is ó.
我做的URL编码后通过它,因为我使用GCM
I am passing it after doing URL encoding, as I am using GCM
但是,当我得到的消息则显示像这样的电话:
But when I get the message on the phone it is displayed like this:
是否有任何可能的解决方案来解决这个问题呢?
Is there any possible solution to solve this issue?
推荐答案
通过更换解决这个问题。
Solved the issue by replacing
urlencode($message);
与
utf8_encode($message);
这篇关于Android版不显示特殊字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文