I have this function for converts html entities back to html special characters:
function html_entity_decode_utf8($value, $double_encode = TRUE)
{
return htmlspecialchars( (string) $value, ENT_QUOTES, "UTF-8", $double_encode);
}
Now, I need to Print this:
echo html_entity_decode_utf8('&zwnj');
Output is:
&zwnj
Why htmlspecialchars
notwork ?! how i can fix this?