Project

General

Profile

russian language failed on rake redmine:load_default_data RAILS_ENV="production"

Added by Андрей Петров over 15 years ago

rake redmine:load_default_data RAILS_ENV="production"
(in redmine-0.8.3)

Select language: bg, ca, cs, da, de, en, es, fi, fr, he, hu, it, ja, ko, lt, nl, no, pl, pt, pt-br, ro, ru, sk, sr, sv, th, tr, uk, vn, zh, zh-tw [en] ru ====================================
Error: Mysql::Error: #HY000Illegal mix of collations (utf8_general_ci,IMPLICIT) and (cp1251_general_ci,COERCIBLE) for operation '=': SELECT `name` FROM `trackers` WHERE (`trackers`.name = 'п·я┬п╦п╠п╨п╟')
Default configuration data was not loaded.

if i choose "en" it's ok, but symbols "И" and "ш" shows in incorrect encoding

  1. rails --version
    Rails 2.2.2
  2. ruby --version
    ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-freebsd7]
    #mysql
    Server version: 5.0.77 FreeBSD port: mysql-server-5.0.77
    redmine 0.8.3
    using Mongrel