1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Small Php/Mysql charset problem

Discussion in 'Hire a Freelancer' started by wingsoffire1, Dec 23, 2009.

  1. wingsoffire1

    wingsoffire1 Junior Member

    Joined:
    Dec 4, 2009
    Messages:
    157
    Likes Received:
    279
    I'm using a script for one of my websites that was in english. I put the translation to french and all the special characters went crazy.
    I tried to change the charset and almost everything and I could not find the source of this problem.
    I know that it must not be a big deal.
    So I'm looking for someone to fix it for me. Pm me your offer.
    Thank you.
     
  2. origin

    origin Regular Member

    Joined:
    Nov 11, 2008
    Messages:
    334
    Likes Received:
    90
    Home Page:
    Just change your database type to UTF-8.
     
    • Thanks Thanks x 1
  3. laetus

    laetus Registered Member

    Joined:
    Apr 4, 2009
    Messages:
    87
    Likes Received:
    80
    Occupation:
    Professional Web development
    +make sure you sending data to mysql in utf-8 charset
    +make sure that columns in mysql table have utf8 charset
    +after connection to a database run this command:
    Code:
    set names utf8;
     
    • Thanks Thanks x 1
    Last edited: Dec 24, 2009
  4. wingsoffire1

    wingsoffire1 Junior Member

    Joined:
    Dec 4, 2009
    Messages:
    157
    Likes Received:
    279
    I already did that :/