[FX.php List] Continuing problem with parsing apostrophes

Bob Patin bob at patin.com
Wed Mar 2 10:42:50 MST 2011


Hey Chris,

You're probably right; the original text was typed in by someone running through Terminal Services on a PC. The str_replace fixed it though...

BP


On Mar 2, 2011, at 11:31 AM, Chris Hansen wrote:

> I suspect that part of the problem is curly quotes, too.  An entity number that high means that the character in question is not the simple ' but the curly version.  So, as mentioned elsewhere the following will work, but the character is most likely showing up as a result of curly quotes...
> 
> html_entity_decode('’', ENT_QUOTES, 'UTF-8')
> 
> Best,



More information about the FX.php_List mailing list