1 tselliott Mar 16, 2009 00:55
3 sam2kb Mar 16, 2009 06:07
Note: the backend db is set to use UTF for the columns.
Did you also set utf-8 in /config/_locales.php ?
Edit the following in /config/_locales.php
$force_io_charset_if_accepted = 'utf-8';
$db_config['connection_charset'] = 'utf8';
4 tselliott Mar 16, 2009 10:57
sam2kb wrote:
$force_io_charset_if_accepted = 'utf-8'; $db_config['connection_charset'] = 'utf8';
That actually seems to have done the trick. I had the $db_config['connection_charset'] set at utf-8 instead of utf8.
Thanks for the help!
Also, just to note it here, the $current_User was the one with the ???. $edited_User contained the correct Cyrillic characters even when I had the connection_charset set incorrectly.
5 afwas Mar 16, 2009 11:54
Hi tselliot,
Thanks for the feedback.
Since this is not a bug I'm gonna move this post to 'Support' to not confuse other developers.
Thanks sam2kb also.
Good luck
Hi tselliot,
In one of the pages where you can view the echo please try:
This is the cache and it's used nearly everywhere. I suppose that refers to the pages where you view correctly.
I think the User page comes directly from the database and isn't converted. You may want to check the DB.
As always with charset troubles it's hard to tell who's to blame. The DB charset, B2evo charset or even your browser or OS.
Do check the /config/_locales.php for the charsets that are supposed to be used.
If you can report this information back to this forum I will check the User detail page.
good luck
*edit*
Please also try
in /inc/users/views/_user.form.php. After checking some code I think this $edited_User is to blame