Weird Chars in RSS

Discussion in 'PHP' started by 1-3-3-7, Sep 14, 2007.

  1. #1
    Ok I have a php file that outputs the RSS feeds into html, and I used the include command to integrate that into an existing page I have, the feeds show up fine, BUT when it's something like it's it displays it with a bunch of weird characters.

    And in the original RSS php file it shows up fine.

    I have a feeling it might be the CSS for the current page, but I'm not sure how I would fix it.

    Any help is appreciated :)
     
    1-3-3-7, Sep 14, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    It's most likely the encoding. A link to the actual page would help.
     
    nico_swd, Sep 14, 2007 IP
    1-3-3-7 likes this.
  3. 1-3-3-7

    1-3-3-7 Well-Known Member

    Messages:
    605
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    110
    #3
    Yep that was it, I did the thing you told me via PM and it worked. Thanks :)

    This is what he told me, and it worked for me:

    Look for

    and change the iso-8859-1 to UTF-8 or whatever char. set the RSS feed is using. Most of them use UTF-8 though.

    And after the change it should look like this:

     
    1-3-3-7, Sep 14, 2007 IP