Project

General

Profile

Actions

Defect #4990

closed

Migrate from trac - Issue category about 15 characters are cut off

Added by Mike Stupalov about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Importers
Target version:
-
Start date:
2010-03-05
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

After migration from trac all Issue categories were cut off to 15 characters.

Example (in Russian):
Trac Админская панель Клиентская панель
Redmine Админская панел Клиентская пане

Related issues

Is duplicate of Redmine - Defect #3392: Issue categories length and utf-8 problemClosed2009-05-20

Actions
Actions #1

Updated by Vitaly Klimov about 14 years ago

This could happen if you have created redmine databases with latin1 codepage instead of utf-8

If this is a new installation of redmine i recommend you to create databases from scratch in utf-8 encoding and add following line to the database.yml:

encoding: utf8

If you do not want to lose all the existing data, drop me e-mail i'll send you detailed instructions, assuming you are using MySQL server. I had to go through this couple of months ago.

Actions #2

Updated by Mike Stupalov about 14 years ago

config for database:

production:
  adapter: mysql
  database: redmine
  host: localhost
  username: redmine
  password: my_password
  encoding: utf8

Actions #3

Updated by Mike Stupalov about 14 years ago

mysql> SHOW CREATE DATABASE `redmine`;
+----------+------------------------------------------------------------------+
| Database | Create Database                                                  |
+----------+------------------------------------------------------------------+
| redmine  | CREATE DATABASE `redmine` /*!40100 DEFAULT CHARACTER SET utf8 */ |
+----------+------------------------------------------------------------------+

Actions #4

Updated by Mike Stupalov about 14 years ago

mysql built on freebsd 7.2 with make variables:

WITH_CHARSET=utf8
WITH_XCHARSET=all
WITH_COLLATION=utf8_general_ci
BUILD_STATIC=yes
BUILD_OPTIMIZED=yes

Actions #5

Updated by Mike Stupalov about 14 years ago

# RAILS_ENV="production" script/about 
About your application's environment
Ruby version              1.8.7 (amd64-freebsd7)
RubyGems version          1.3.5
Rack version              1.0
Rails version             2.3.5
Active Record version     2.3.5
Active Resource version   2.3.5
Action Mailer version     2.3.5
Active Support version    2.3.5
Application root          /usr/local/www/redmine-trunk
Environment               production
Database adapter          mysql
Database schema version   20100221100219

About your Redmine plugins
Redmine Wiki Extensions plugin   0.2.0
Actions #6

Updated by Jean-Philippe Lang about 14 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

See #3392.

Actions

Also available in: Atom PDF