Search engine script: characters problems

Discussion in 'Products & Tools' started by Elias_Maluco, Jun 2, 2006.

  1. #1
    Hi all. And thanks digital point for "http://www.digitalpoint.com/tools/search/", its great and works pretty well.

    But Im having a little annoyance while using it on my website: the search results are showing corrupted/wrong characters for portuguese chars (like, ã, ç, é, etc). For example, it returns "acessórios" when it was supposed to return "acessórios".

    Im using the avaliable code as it is, with no changes. What can be causing those problems? How can i avoid it? Any help will be really apreciated.
     
    Elias_Maluco, Jun 2, 2006 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    What charset are you using for the "Content-Type" tags on your site?
     
    digitalpoint, Jun 2, 2006 IP
  3. Elias_Maluco

    Elias_Maluco Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Im using "iso-8859-1"
     
    Elias_Maluco, Jun 5, 2006 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    Try using utf-8 instead.
     
    digitalpoint, Jun 5, 2006 IP
  5. Elias_Maluco

    Elias_Maluco Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Ok, I tried:

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    But nothing changed.
     
    Elias_Maluco, Jun 8, 2006 IP
  6. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #6
    What's the URL you're running it at?
     
    digitalpoint, Jun 8, 2006 IP