Heim >Backend-Entwicklung >PHP-Tutorial >php html实业字符的转换

php html实业字符的转换

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 10:50:57838Durchsuche

php html实体字符的转换
php有什么函数能把html实体符号é转换成é?

php那几个函数都试过了,不行呀。

------解决方案--------------------

PHP code
echo    mb_convert_encoding("é", "UTF-8", "HTML-ENTITIES"); //é<br><font color="#e78608">------解决方案--------------------</font><br>$text = mb_convert_encoding($text, "UTF-8", "HTML-ENTITIES");<div class="clear">
                 
              
              
        
            </div>
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn