Project

General

Profile

Actions

Patch #1008

open

redmine:migrate_from_trac doesn't work when multibyte characters are used in trac.

Added by okkez _ over 16 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Importers
Target version:
-
Start date:
2008-04-07
Due date:
% Done:

0%

Estimated time:

Description

redmine:migrate_from_trac doesn't work when I use multibyte characters in trac.
So I wrote a simple patch for this problem.

I think this patch makes the task so slow.

Why the task doesn't work?
Because Ruby's String#[pos, length] counts bytes (Ruby1.8), but database counts characters (varchar(30)).

Another way, you fix database schema.
For example:

  issue_categories name varchar(30) -> varchar(255)

But this way cannot solves real problem in the task.


Files

migrate_from_trac.patch (505 Bytes) migrate_from_trac.patch okkez _, 2008-04-07 08:54

No data to display

Actions

Also available in: Atom PDF