Blog written in Chinese English German

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Torsten
Regular
Posts: 9
Joined: Thu Jul 08, 2010 12:42 pm

Blog written in Chinese English German

Post by Torsten »

Hi,

I have a problem to create my blog with 3 different languages. I have used the multilanguage plugin successfully. However, when I choose Chinese all the characters show up as "???". Is there any may to combine Western and Chinese characters?

http://www.xiaotuo.de/index.php

Thanks for helping!

Torsten
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Blog written in Chinese English German

Post by garvinhicking »

Hi!

This is only possible properly, if you use UTF-8 as your charset. Having different languages like simplified chinese (which has its own charset) and german/english (which use UTF-8) then it won't properly display in such mixed environments...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Torsten
Regular
Posts: 9
Joined: Thu Jul 08, 2010 12:42 pm

Re: Blog written in Chinese English German

Post by Torsten »

Hi,

Thanks for the revert. I have tried to change the char sets. There is also Chinese UTF-8 but it doesn't work eighter :cry:
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Blog written in Chinese English German

Post by garvinhicking »

Hi!

changing charsets doesn't work retro-actively; you must try to write a new entry after you changed charsets, did you do that?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Torsten
Regular
Posts: 9
Joined: Thu Jul 08, 2010 12:42 pm

Re: Blog written in Chinese English German

Post by Torsten »

Yes, just now I published a test article. The Chinese one still doesn't work. "中文" becomes "??".
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Blog written in Chinese English German

Post by garvinhicking »

Hi!

Which browser are you using, did you maybe try an alternate one? Maybe it could be a charset setting of the browser itself.

I wish I knew more about chinese characters so that I could locally test it...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Torsten
Regular
Posts: 9
Joined: Thu Jul 08, 2010 12:42 pm

Re: Blog written in Chinese English German

Post by Torsten »

Hi,

With IE and Firefox it doesn't work. The funny thing is if I change the language in the "Choose Language" Menue than the menue bars are in proper Chinese Characters but the characters in my posts are still "??".

You can use this characters for testing: 中文

Thanks

Torsten
Mangek
Regular
Posts: 85
Joined: Tue Jun 24, 2008 1:08 am
Location: Sweden
Contact:

Re: Blog written in Chinese English German

Post by Mangek »

Take a look at the database table serendipity_entries (for instance, there may be a few more places) and make sure the collation is set as utf8_unicode_ci. I had this problem a while back when I was mixing English and Japanese, and the Japanese would turn up as ??. For some reason all my databases and tables had a collation set to latin1_swedish_ci when they were created and I had to go back and fix it by hand for the Japanese to display properly.
Torsten
Regular
Posts: 9
Joined: Thu Jul 08, 2010 12:42 pm

Re: Blog written in Chinese English German

Post by Torsten »

OK. I found the same problem. The language was also swedisch latin. It works now :D !

Thank you!!!!!!!!!!!!!
Mangek
Regular
Posts: 85
Joined: Tue Jun 24, 2008 1:08 am
Location: Sweden
Contact:

Re: Blog written in Chinese English German

Post by Mangek »

Hey no problem, glad I could help. :)
Post Reply