Does anyone have any idea why money_format() is showing � instead of pound sign (£).

有没有人知道为什么money_format()显示 而不是英镑符号(£)。

The function performs fine on my local server, but when I upload it to my remote server if renders incorrectly.

该函数在我的本地服务器上运行正常,但是当我将其上传到我的远程服务器时如果渲染不正确。

Does anyone know a solution?

有谁知道解决方案?

2 个解决方案

#1


5

You need to use £, not £

你需要使用£而不是£

A full list of characters affected in this way can be found at http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references

可以在http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references找到以这种方式受影响的完整字符列表。

更多相关文章

  1. 用于在表中强制换行的PHP或HTML/CSS解决方案
  2. 如何实现分布式文件上传解决方案?
  3. 一套PHP做app接口的解决方案
  4. curl获取网页内容出现乱码或为空的解决方案,另附curl_getinfo函数
  5. PHP XAMPP配置PHP环境和Apache80端口被占用解决方案
  6. mysql主从同步报slave_sql_running:no的解决方案
  7. win7下Django的MySql安装,问题解决方案
  8. mysql 事物没提交导致事物一直运行解决方案
  9. 无法连接远程MySQL数据库的解决方案

随机推荐

  1. 如何使用ruby编程连接和访问mysqldb
  2. Open edX数据结构Mysql edxapp
  3. PHPMyWind教程:如何把本地测试好的程序发
  4. MySQL常用的函数
  5. 源码方式安装mysql5.5
  6. 数据库连接“Mysql”丢失,缺少mysql.sock
  7. MySQL查询优化技术讲座
  8. MYSQL简单的binlog恢复测试
  9. 如何从php中的数据库表创建表单下拉列表?
  10. 深入浅出MySQL读书笔记(一)