I am using php. I have a problem with special chars. I have a word for example it’s. When i do encode in php side with
return htmlspecialchars($text,ENT_QUOTES,"UTF-8");
it is returning it's it is correct but browser does not decode it. So in browser it the same. Why does not browser decode that?
thanks
I tested in IE 8
Output:
It’s
It’s
source Output:
Maybe it’s a browser setting???