30 January 2008 at 12:40pm
(Last edited: 30 January 2008 12:47pm),
Hi, I am making a bilingual site in English as default and Russian as translation.
Everithing works fine, but in the Russion translation output (in CMS and both in draft and live) there are some characters substituted by an "unrecognized" symbol.
31 January 2008 at 12:14am
can you make sure that your browser is set to handle utf8 (e.g. "page information" popup in firefox)? which browser are you using? can you check if using another font solves the issue?
can you have a look if the strings are correctly saved via phpmyadmin? (make sure its set to utf8 output as well)
31 January 2008 at 5:27am
(Last edited: 31 January 2008 5:50am),
I checked what you said. Changing the font doesn't help, The same problem with the characters in Firefox 18.104.22.168, Opera 9.25, IE7. Firefox Page Info says the encoding is utf-8.
The strings in db are not saved correctly. When I open a Content field in SiteTree_lang table via phpmyadmin I see only "ÃÂ Ã¢â‚¬â„¢ÃÂ Ã‘â€”ÃÂ Ã‚ÂµÃÂ¡Ãâ€šÃÂ Ãâ€ ÃÂ¡Ã¢â‚¬Â¹ÃÂ Ã‚Âµ! ÃÂ Ã‘Å¾ÃÂ Ã‘â€¢ÃÂ Ã‚Â»ÃÂ¡ÃÅ ÃÂ Ã‘â€ÃÂ Ã‘â€¢ ÃÂ¡Ã‘â€œ ÃÂ Ãâ€¦ÃÂ Ã‚Â°ÃÂ¡ÃÆ’! ÃÂ Ã¢â‚¬â„¢ÃÂ¡Ã¢â‚¬Â¹ ÃÂ¡ÃÆ’".
Phpmyadmin is set to utf-8. It says that the rows collation is utf8_general_ci.
But when I open a ss database to view the tables the collation is indicated as cp1251_general_ci.
Russian characters problem appears regardless of whether it is a translation or default language.
The site runs on a Russian server, where utf-8 wordpress (one language - Russian) works fine with the same parameters.
Just started to translate the content. It looks like I can't use SS for Russian content sites at all!
31 January 2008 at 9:29pm
(Last edited: 31 January 2008 9:31pm),
Hello again! I attach a screenshot of how the cyrillics look like on the site.
Is there anyone who managed to produce Russian cyrillic output on SilverStripe?
I really need to know if it's only my problem, or there is a bug in SS.
It sounds weird, 2 characters are missing. I have never seen anything like that before.