Forum Moderators: coopster

Message Too Old, No Replies

Japanese and Russian Text Encoding Problem

encoding problem with russian text & japanese text

         

sandeep india

9:35 am on Sep 30, 2008 (gmt 0)

10+ Year Member



Hi all,

I m using PHP Version 4.3.2 & Mysql version 3.23.58(No collation etc).
My site is in shift JIS encoding. I've both japanese users & russian users. They have entered their member profile in their language. So I have over 5000 member data both in russian & japanese. Now my russian member profile page is showing junk characters. if I change the encoding to cyrillic(window-1251) then russian character are ok, but japanese characters get junked. I can not use both encoding to same page and if I use UTF-8 encoding the old data(both language) is get junked.

Pls Pls help if you know the solution.

Thanks in advance.

Sandeep

jatar_k

1:02 pm on Sep 30, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld sandeep india,

You might want to think about splitting the sites, maybe 2 subdomains, one for each language

or maybe you can do some type of conversion to utf-8

sandeep india

5:02 am on Oct 1, 2008 (gmt 0)

10+ Year Member



Thanks jatar_k for solutions.

but its not possible to seprate the site in two subdomains & there is only one control panel of site. I can change the encoding from shift JIS to UTF-8. but what can be done with old data. when i change the old data with mb_string its showing junk characters.