Postări

Se afișează postări din februarie, 2018

convert apostrophe and other character encoded to utf-8 normal symbols

$string = '&#0192; &#0162;A &#039;quote&#039; is <b>bold</b>' ; echo html_entity_decode ( $string , ENT_QUOTES ).PHP_EOL; echo mb_convert_encoding ( $string , "UTF-8" , "HTML-ENTITIES" ); À ¢A 'quote' is <b>bold</b> À ¢A 'quote' is <b>bold</b>