【问题标题】:Gujarati font showing with square and question marks, how to remove these special characters?古吉拉特语字体显示有正方形和问号,如何删除这些特殊字符?
【发布时间】:2016-10-27 21:41:30
【问题描述】:

当我从数据库中获取行时,如下图所示

【问题讨论】:

标签: php mysql codeigniter unicode utf-8


【解决方案1】:

您正在显示原始,在您的网页中设置元 UTF-8 以显示它

<head> <meta charset="UTF-8"> 

@font-face {
    font-family: gujarati;
    src: url(gujarati_location.woff);
}

【讨论】:

  • 并用这个函数 mb_detect_encoding(str) 检查,它显示的是 UTF-8
  • 不,我没有导入任何古吉拉特语字体。需要吗?
  • 你应该尝试一下
  • 我不仅要打印它,我还必须将它作为变量传递以从其他表中获取行
  • 不显示和传递变量是为了分隔事物。尝试从 css 导入字体以显示它。详细说明您必须作为变量传递的内容。
猜你喜欢
  • 2014-02-23
  • 1970-01-01
  • 1970-01-01
  • 2013-04-27
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多