Handling multilanguage of different encoding

Discussion in 'PHP' started by rp001, Jul 6, 2010.

  1. #1
    Hi all
    This is my first post here.

    I am developing a multilanguage app (forum) in PHP mySQL.
    My db encoding is utf8_unicode_ci
    Default language is english and page encoding is utf-8

    If i add support for a new language in utf-8 encoding itself , i have no problems.

    But if I add a new language in another encoding, and say user chooses that language and posts his thread in the selected language. Now the data will be read from the page in the corresponding encoding , but the in the back end my db is utf8. will there be any issue?

    what is the best practice i should follow?
    Hope you can help me out.

    Thanks
    RP
     
    rp001, Jul 6, 2010 IP
  2. rp001

    rp001 Guest

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hello nobody out there?
     
    rp001, Jul 8, 2010 IP
  3. Johnta

    Johnta Peon

    Messages:
    101
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I don't think it is possible for Mysql database to have two encoding in the same time,But Utf-8 can cover many languages, So it is OK to have many languages that share the same encoding ..

    Here is Some info from Mysql.com
     
    Johnta, Jul 8, 2010 IP
  4. rp001

    rp001 Guest

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thank you friend.
    I hope i can cover most of the lang in utf8
     
    rp001, Jul 8, 2010 IP
  5. webria

    webria Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If you will read on net Localization with multilanguage support in the web site, you will be helped. You may go for a PHP framework like codeigniter to address this issue.
     
    webria, Jul 8, 2010 IP