...

View Full Version : Foreign Characters.



cloudstryphe
06-09-2012, 07:47 PM
Hello!

I'm currently displaying feeds from Facebooks API via PHP on my website. Whenever a feed contains foreign characters they look like this:

"érov! �"

I have in my html head


<meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />


I'm not sure if this is PHP or HTML. How do I get around this?

jrote1
06-09-2012, 10:15 PM
Have you got the link to the webpage that has this problem

cloudstryphe
06-09-2012, 10:23 PM
No, unfortunately. I'm running it on Localhost right now.

jrote1
06-09-2012, 10:26 PM
Could you post the section of the source that has these chracters

cloudstryphe
06-09-2012, 10:47 PM
Sure:

I'm retrieving the data from Facebook with a php script:




echo "<div Class='fbnewsfeedmessage'>",
htmlentities($newsfeeddata['message']),
"</div>";



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum