Recent Topics

1 Jun 15, 2009 22:21    

My b2evolution Version: Not Entered

Hello, I created a b2e website on Sun system for my Chinese friends. Natually it is more fun and convenient for us to write in Chinese. I have no problem creating posts using Simplified Chinese fonts (GB2312). However, when I leave comments to the posts, the Chinese characters are corrupted, shown as "????", etc. Does any one know why it is like this?

In my site, both Regional Settings in Global settings and Main Locale in Blog settings are set to Simplified Chinese.

I notice that the non-corrupted Chinese characters are stored as "& # 2 6 4 1 2 ;" (without the spaces), which stands for the Chinese character "本". Guess they are Unicode (UTF-7/8).

Felipe Medeiros
-------------------------
Name: Felipe Medeiros
Status: Analyst JR
E-mail: felipe.medeiros@weblocal.com.br
*edit* my shit spam removed

3 Jun 16, 2009 17:05

check also the following:
/blog/conf/_locales.php

look for:
$force_io_charset_if_accepted
$db_config['connection_charset']

I use UTF-8 for my blogs so my settings are:
$force_io_charset_if_accepted = 'UTF-8';
$db_config['connection_charset'] = 'utf8';

Then as was mentioned above, set your DB accordingly..
a) DB Connection
b) DB collation
c) DB tables collation


Form is loading...