[英]Problems with some characters
I was having problems with this character: '
我对此字符有疑问:
'
It displays as some rhombus like gibberish. 它显示为一些菱形,像胡言乱语。
To fix this, I added $content =mb_convert_encoding($content,'UTF-8');
为了解决这个问题,我添加了
$content =mb_convert_encoding($content,'UTF-8');
before displaying. 在显示之前。
Now it doesn't display the gibberish and the character '
either. 现在,它也不会显示乱码和字符
'
。
How do I fix this? 我该如何解决?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.