Problems with UTF-8 (Help Please!)

Discussion in 'Programming' started by luizeba, Dec 11, 2009.

  1. #1
    Hello mates!


    I changed my site from ISO-***** to UTF-8 some days ago...
    And well, it's working perfectly, as in: http://luizjogos.com/view/945/Antidoto

    But well, in Google.com, it's showing the special characters wrongly, like in:
    http://www.google.com.br/search?q=site:luizjogos.com/view/945/Antídoto&hl=pt-BR&filter=0
    (site:luizjogos.com/view/945/Antídoto)


    All the specials characters in that description (í, é and ã) are showing wrongly in Google, but right in my site...


    What can I do to fix it?
     
    luizeba, Dec 11, 2009 IP
  2. a4kata

    a4kata Member

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #2
    Maybe the problem is that google using another characters or the pages are not updated yet ?
     
    a4kata, Dec 11, 2009 IP
  3. luizeba

    luizeba Active Member

    Messages:
    265
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #3
    Hiho mate

    Well, only the updated ones are showing this problem...the old ones (before about 1 week ago) have the right characters (in old encoding, with ISO-xxxxx)

    And why google is using another characters? All my pages has the <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> =)
     
    luizeba, Dec 11, 2009 IP
  4. luizeba

    luizeba Active Member

    Messages:
    265
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #4
    No one can help me? Please mates from DP!!
     
    luizeba, Dec 12, 2009 IP
  5. luizeba

    luizeba Active Member

    Messages:
    265
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #5
    Please mates, I'm almost desesperate!
     
    luizeba, Dec 15, 2009 IP
  6. MyVodaFone

    MyVodaFone Well-Known Member

    Messages:
    1,048
    Likes Received:
    42
    Best Answers:
    10
    Trophy Points:
    195
    #6
    
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt" lang="pt">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    </head>
    <body>
    </body>
    </html>
    
    PHP:
    NOTE: xml:lang="pt" lang="pt"
     
    Last edited: Dec 15, 2009
    MyVodaFone, Dec 15, 2009 IP
  7. luizeba

    luizeba Active Member

    Messages:
    265
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #7
    Hello mate!

    I put these what u said, but the '''''<?xml version="1.0....................>"""" is making my whole site break. So I stay with my old code before the <!DOCTYPE>...now it's like that:


    U think it'll solve?
     
    luizeba, Dec 15, 2009 IP
  8. MyVodaFone

    MyVodaFone Well-Known Member

    Messages:
    1,048
    Likes Received:
    42
    Best Answers:
    10
    Trophy Points:
    195
    #8
    Try googles webmasters tools and select "what google sees"
     
    MyVodaFone, Dec 15, 2009 IP
  9. adservermods

    adservermods Peon

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    adservermods, Dec 15, 2009 IP