money_format()函数显示 而不是本地货币符号(磅)
16lz
2021-01-22
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找到以这种方式受影响的完整字符列表。
更多相关文章
- 用于在表中强制换行的PHP或HTML/CSS解决方案
- 如何实现分布式文件上传解决方案?
- 一套PHP做app接口的解决方案
- curl获取网页内容出现乱码或为空的解决方案,另附curl_getinfo函数
- PHP XAMPP配置PHP环境和Apache80端口被占用解决方案
- mysql主从同步报slave_sql_running:no的解决方案
- win7下Django的MySql安装,问题解决方案
- mysql 事物没提交导致事物一直运行解决方案
- 无法连接远程MySQL数据库的解决方案