Russian (Cyrillic) characters not displaying in Orchard 1.6 with MySQL

Topics: Localization, Русский (Russian)
May 11, 2013 at 12:04 PM
Edited May 11, 2013 at 3:10 PM
Hi,

I am trying to setup the multilingual orchard website with MySQL and the localization module. I’ve found that I cannot create the localized pages in Russian as the characters display ??? in the title when I try to save.

I have tried to set the following charset in MySQL database using phpAdmin before installing Orchard:
  • utf8_unicode_ci
  • koi8r_general_ci
What could be the problem? Is it because of MySQL connection driver?
Just to note that the Cyrillic localizations display fine using MS SQL Server.

I've posted the same question on the stackoverflow (http://stackoverflow.com/questions/16444657/russian-cyrillic-characters-not-displaying-in-orchard-1-6) but didn't get any answer yet.

Thanks,
Sergey Kosik
Jun 15, 2013 at 4:17 PM
Sergey,

Try to put charset=utf8; at the end of MySql connection string during installing Orchard.

Also I'm using the database with utf8_general_ci collation and Cyrillic characters are saving/displaying as well as they should.

Regards,
Andrii
Jun 17, 2013 at 8:09 AM
Hi Andrii,

That's great, thanks.

Sergey.