Why does � appear on my web pages?

Discussion in 'HTML & Website Design' started by mridout196, Apr 16, 2008.

  1. #1
    When I upload some pages I get this weird sign � instead of punctuation - any ideas why?
     
    mridout196, Apr 16, 2008 IP
  2. Ikki

    Ikki Peon

    Messages:
    474
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It could be you're using the wrong encoding for your site. Try changing it ot utf-8.
     
    Ikki, Apr 16, 2008 IP
  3. arthur.hero

    arthur.hero Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    May be some viruses are trampling your computer.Please kill them.
     
    arthur.hero, Apr 16, 2008 IP
  4. mridout196

    mridout196 Banned

    Messages:
    720
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #4
    its not UTF - already using it

    and no virus lol
     
    mridout196, Apr 16, 2008 IP
  5. ipodfrik

    ipodfrik Peon

    Messages:
    215
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If you're using UTF, then make sure your browser also uses Unicode, then maybe the issue will be solved.

    Also, don't edit your php files, remotely, in a notepad.

    I once did that, and my site got messed up, even though I just tried to edit some simple text in quotes,
    Then I edited it on the server, and there everything was fine.
     
    ipodfrik, Apr 16, 2008 IP
  6. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Plain old Notepad has issues with the Byte Order Mark or whatever it's called, which is in UTF (though UTF-8 doesn't actually need a BOM but whatever). Most other editors are fine with it.

    Three things need ot match up: server HTTP header needs to be the same character encoding as the meta tag on the HTML page AND that HTML page needs to have been saved in the text editor with the SAME encoding (usually the editor will ask you if it's saving a new file). So, all three encodings must match : )
     
    Stomme poes, Apr 17, 2008 IP