研究下发现是Symfony的crawler调用了html-entities编码。
mb_convert_encoding($content, 'HTML-ENTITIES', $charset);
然后,wiki百科上普及了下基础知识。。。html-entities编码用的是unicode (http://en.wikipedia.org/wiki/Character_encodings_in_HTML)。
引用
A numeric character reference in HTML refers to a character by its Universal Character Set/Unicode code point
特此记录。
以上就介绍了HTML-ENTITIES编码,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。