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

特殊字符“'”没有正确显示PHP? [关闭]

I have already ask a question related this, according to one answer I use <meta charset=utf-8>, after using this, the other special-characters are displaying properly but " ' " is not displaying properly yet.

You have to make sure that you use UTF-8 everywhere that PHP is configure to handle UTF-8.

In the html, add the meta-tag:

<meta charset="utf-8" />

And save it in UTF-8 format. here is how to do that in notepad++.

Enable UTF-8 in the php.ini:

default_charset = "utf-8"

For a full manual check Handling Unicode Front To Back In A Web App

近期文章

  • 你能帮我制定一个SQL查询来加入3个表吗? [关闭]
  • 如何从我选择的cat_id中调用cat_name? MYSQL [关闭]
  • 通过AJAX提交的表单,返回JSON响应[关闭]
  • MySQL“UPDATE”不起作用[关闭]
  • 它无法在数据库中找到正确的电子邮件地址
  • 修改SQL结果
  • 以MYSQL格式发布日期[重复]
  • 日期格式更正[关闭]
  • 如何上传照片[重复]
  • 这个PHP代码在VB.net中是什么[关闭]
  • 代码点火器中的启动会话[关闭]
  • PHP - MYSQL Concat无法正常工作[关闭]
  • 将javascript函数转换为PHP
  • 正则表达式的帮助,应该很简单[关闭]
  • PHP代码只是评论我的HTML
  • 字段ID:primary和auto_increment.need要填充? [关闭]
  • php修改扩展后上传图片[关闭]
  • 带撇号的PHP错误(GET - POST - SESSION变量)[关闭]
  • 计算php中的循环while循环[重复]
  • FB应用程序中的“此帖子包含阻止的URL”错误

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

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

友情链接:代码精华