I have a Russian-English website based on bluemarine theme.

I have set up settings.php with the i18n_variables array as per README.txt

When I was setting up the site information (name, slogan etc.) I noticed that when I switch to Russian language and fill out site info in Russian (cyrillic) and submit the info, the fields become empty again and the sit ename is not reflected in the header of a page. If I fill out the fields with the latin letters (still being on Russian admin page), the results are shown properly.

I experimented with other languages: it works with Polish, but does not work with Vietnamese, or ever when latin and cyrillic letters were in the same string.. I suspect that the system chokes when the characters from extended set get assigned to the variables.

The theme itself is good: without assigning the i18n_variables array I can have a Russian site name (but of course it is not dependent on the language switch).

Thank you.

CommentFileSizeAuthor
#1 before.gif196.31 KBslaffka

Comments

slaffka’s picture

Priority: Normal » Minor
StatusFileSize
new196.31 KB

The issue is fixed on my site.

The problem was, that the module created the tables

 i18n_node
 i18n_profile_fields
 i18n_variable

with the character set latin1_swedish_ci. (see the attached picture).

I went to the database, changed the tables character set to utf8_general_ci. I did the same to any field in these tables that had the character set defined.

I am not sure about the cause of the bug: whether this collation was preset before on mySQL, or the i18n created the tables using this. In any case, it would be nice to let the installation scripts of i18n to force the character set of these tables depending on the user preferences, or probably just use utf8_general_ci by default.

Special thanks to Timothy Ha (http://jesuschrist.ru) for his help in troubleshooting!

jose reyero’s picture

Version: 5.x-1.0 » 5.x-1.x-dev
Status: Active » Fixed

The module's update scripts will take care of all this now.

Thanks for the feedback.

Anonymous’s picture

Status: Fixed » Closed (fixed)