Removing html entities in parsed text - Php -


how remove/convert characters "’" parsed html text?

whether there function remove this??

if you're using html_entity_decode or similar php function check if there's parameter define character set used example.

html_entity_decode ( string $string [, int $quote_style = ent_compat [, string $charset = 'utf-8' ]] ) 

http://www.php.net/manual/en/function.html-entity-decode.php

utf-8 display characters correctly assuming source isn't weird.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

android - layout with fragment and framelayout replaced by another fragment and framelayout -