开发者

PHP: Converting utf8 chars from mysql db

I have a longtext in my db where i have some special chars like Ã

How i can convert it to "à"? I've tried using utf8_encode and _decode but it seems 开发者_JS百科not work. Document charset is utf8, and longtext field too.


It's not about encoding but html entities : http://php.net/manual/fr/function.html-entity-decode.php

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜