dongsigan2636 2011-02-24 22:05
浏览 62
已采纳

黑钻石问号

if you look on this page: http://www.lyricsinger.org/lyric/michel-sardou/c-est-ma-vie

there are several black diamonds with question marks in them. these are french characters.

in the database, the TEXT field they are stored in is set to utf8_general_ci in the header you can see i have made the utf-8 charset declaration

it makes no sense why it isn't showing the characters properly.

  • 写回答

2条回答 默认 最新

  • dop20345 2011-02-24 22:11
    关注

    It's important that you display the text with the same encoding as the source of the data. So for example, if you put the content in ISO-8859-1 (e.g in the admin part the encoding is ISO-8859-1, or the file you've loaded contains ISO-8859-1 content), it doesn't matter what the database collation is, the text will not be displayed correctly.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料