I’m using a proxy to get google results. Which I then show as plain html. The problem is that I get a strange symbol every now and than that looks like this �
I know it might have something to do with my proxy.php and language/character settings. But since I don’t know PHP I was wondering wether I could remove this symbol using jquery/javascript. I tried display:none and &('�').remove(); with no luck.
ps I dont know if you see the same symbol as I am seeing in my browser, but in case you dont: its a ‘?’ inside a little black square.
You should force the
charsetheader of your response to beUTF-8(or other suitable charset for your needs), or you could previously convert all your unicode characters on server side with mb_convert_encodingexample (taken from manual page)