Osc*_*lli 1 html php decode html-entities
如何在PHP中的元素,如转换à和’到默认UTF8字符?
我尝试html_entity_decode没有成功(我显示一些?代替à和’代替’)
您遇到了编码问题.html_entity_decode默认输出iso-8859-1.而且?我认为你使用的是utf-8.
试试这个: html_entity_decode('à', ENT_COMPAT, 'utf-8')