I have the following code:
echo html_entity_decode("„", ENT_QUOTES, "UTF-8");
Result is „
but expected result is „
.
I also tried ISO-8859-1
instead of UTF-8
, but it's still the same.
Why isn't html_entity_decode
working in this case?