serach in chines

Discussion in 'PHP' started by digitalpointhamza, Jun 9, 2010.

  1. #1
    i am working on a website where i need to using searching in db.
    and i have chines character stored in chines.
    so how i can search db with chines character
    and search keywords are in english.
    please help
     
    digitalpointhamza, Jun 9, 2010 IP
  2. JEET

    JEET Notable Member

    Messages:
    3,832
    Likes Received:
    502
    Best Answers:
    19
    Trophy Points:
    265
    #2
    This is just a suggestion, and someone might come up with something else.
    Using the google translation, change the chinese to english, and store that english in an "extra" field in database. Then when you get an english input match against the english version of the chinese you have.
    Thanks
     
    JEET, Jun 9, 2010 IP
  3. lifeplayer

    lifeplayer Notable Member

    Messages:
    15,609
    Likes Received:
    475
    Best Answers:
    0
    Trophy Points:
    265
    #3
    JEET is right, or you can translate your search keyword into chinese by using google translator before you search
     
    lifeplayer, Jun 17, 2010 IP