"?" in a diamond appears in my webpage. What does it mean?

Discussion in 'PHP' started by valandil, Jul 11, 2008.

  1. #1
    I have attached a picture of it. I'm using a tracking script. If I don't use it, it's ok. Anyone can help?
     

    Attached Files:

    valandil, Jul 11, 2008 IP
  2. rohan_shenoy

    rohan_shenoy Active Member

    Messages:
    441
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Its probably a character set issue. Either the wrong type of headers are sent or some fonts may be missing!
     
    rohan_shenoy, Jul 11, 2008 IP
  3. o_rly

    o_rly Guest

    Messages:
    35
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You might have an open php tag somewhere that has not been closed properly; look in the code for <? and > somewhere; change > to ?>

    or it could be < and a ?>
     
    o_rly, Jul 11, 2008 IP
  4. serialCoder

    serialCoder Guest

    Best Answers:
    0
    #4
    its a problem for encoding, basically the browser does not know how to translate the character,
     
    serialCoder, Jul 11, 2008 IP
  5. Mozzart

    Mozzart Peon

    Messages:
    189
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    It's a charset issue, I can't really see it well but here are some hints

    If you just finished a design or something to a dynamic script

    1) Ensure that the script charset is UTF-8
    2) Ensure that the design's charset is UTF-8 (both have to be the same)

    The browser sends/read the encoding according to the meta charset set. The script handles the data according to the charset set. If one is ISO-8889-1 and another is UTF-8 it will make those errors.
     
    Mozzart, Jul 11, 2008 IP
  6. valandil

    valandil Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks for replying guys. It appears the charset stuff is working. I haven't had any problem with it though. Thanks.
     
    valandil, Jul 11, 2008 IP