Recent Topics

Bug with Cyrillic names in user profile in 2.02-alpha

Started by on Jan 29, 2008 – Contents updated: Jan 29, 2008

Jan 29, 2008 10:02    

Hello everyone!

I found bug in b2e 2.0.2-alpha and 2.0.3-rc1.
If user used Cyrillic letters in his/her profile/account, then after he/she input them, he/she see only question marks instead of real letters. But in DB everything is just fine. And it seems to me that when ObjectCache getting user info it doesn't use correct charset. Because all other information from db and localization file looks correctly.

Jan 29, 2008 12:06

Hi

I don't know about 2.0.2-alpha, but there is no Cyrillic encoding problem with posts or user settings/names in 2.3.0-rc1. Just because I use it every day :)

But you have to set db connection charset to utf8 (didn't try cp1251) in /conf/_locales.php

$force_io_charset_if_accepted = 'utf-8';
$db_config['connection_charset'] = 'utf8';

Good luck

Jan 30, 2008 14:42

sam2kb wrote:

Hi

I don't know about 2.0.2-alpha, but there is no Cyrillic encoding problem with posts or user settings/names in 2.3.0-rc1. Just because I use it every day :)

But you have to set db connection charset to utf8 (didn't try cp1251) in /conf/_locales.php

$force_io_charset_if_accepted = 'utf-8';
$db_config['connection_charset'] = 'utf8';

Thank you very much. I will try that.
I have database in utf-8. And localization which I done by myself (maybe it will be useful for others) is in utf-8 too.


Form is loading...

powered by b2evolution – This forum is powered by b2evolution CMS, a complete engine for your website.