Patch #1008
redmine:migrate_from_trac doesn't work when multibyte characters are used in trac.
Status: | New | Start date: | 2008-04-07 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Importers | |||
Target version: | - |
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.