Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Mar 2012
    Posts
    63
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Foreign Characters.

    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
    Code:
    <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?

  • #2
    New Coder
    Join Date
    Apr 2012
    Posts
    14
    Thanks
    0
    Thanked 1 Time in 1 Post
    Have you got the link to the webpage that has this problem

  • #3
    New Coder
    Join Date
    Mar 2012
    Posts
    63
    Thanks
    7
    Thanked 0 Times in 0 Posts
    No, unfortunately. I'm running it on Localhost right now.

  • #4
    New Coder
    Join Date
    Apr 2012
    Posts
    14
    Thanks
    0
    Thanked 1 Time in 1 Post
    Could you post the section of the source that has these chracters

  • #5
    New Coder
    Join Date
    Mar 2012
    Posts
    63
    Thanks
    7
    Thanked 0 Times in 0 Posts
    Sure:

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

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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •