我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Android不显示特殊字符

I am passing a character from PHP to android. Character I am passing is ó.

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);

with

utf8_encode($message);

近期文章

  • ps x显示奇怪的命令:-f html / index.php [关闭]
  • php foreach上传文件定义变量
  • 如果已登录,则重定向到某个页面
  • PHP字符串限制在odbc_fetch_array上
  • javascript在另一个文件中使用php [关闭]
  • Doctrine2过滤器禁用/无效结果
  • 如何在PHP中将.xsd文件转换为数组
  • 将产品收集金额添加到标题中
  • 插入mysql但选择何时显示...?
  • jquery ajax响应删除+字符
  • 查找sql​​表中是否存在传入数据
  • php:虽然浏览器关闭但保存登录
  • socket服务中的php会话管理
  • 数据库不检查用户名是否免费[关闭]
  • 无法弄清楚这个语法错误是什么[重复]
  • 用表格数据填写网页模板[关闭]
  • 在codeigniter中选择和where条件
  • 尽管检查,null仍出现在数组中
  • Web和C#.dll之间的交互
  • PHP脚本没有插入到pg数据库中

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华