Defect #3392
closedIssue categories length and utf-8 problem
Description
When importing from trac using migrate_from_trac.rake I found issue categories names are сut off and their length is shorter then 30 characters (about 15 characters len). Issue categories were written in Russian in utf-8 encoding.
I looked for at the IssueCategory class definition and made sure it should be 30 char length. I'm using redmine 0.8.4.
Updated by Dr. Agon Smith over 17 years ago
Forgot to mention. When I used migrate_from_trac.rake i've entered "UTF-8" (default answer).
Updated by Dr. Agon Smith over 17 years ago
Dr. Agon Smith wrote:
Forgot to mention. When I used migrate_from_trac.rake i've entered "UTF-8" (default answer) as database encoding.
Updated by Mike Stupalov over 16 years ago
Ok, the same problem in version 0.9.3. Details in the duplicated ticket #4990.
Updated by Aleksey Hariton over 16 years ago
Updated by Mike Stupalov over 16 years ago
I solve problem. See #5154.
Updated by Daniel Felix almost 14 years ago
Well this seems to be related to utf-8 datalenght.
If you define a database field which should hold 30 chars á 1byte, everything works fine. If you import utf-8 data which has 2 byte per char, everything went wrong. (30/2 = 15 chars)
I'm not sure if this is solved due to recent changes in redmine, but it would be nice if someone could check this.
Please take also a look at #5154.
Updated by Yar n almost 12 years ago
when it will be fixed?
Updated by Toshi MARUYAMA almost 12 years ago
Updated by Toshi MARUYAMA almost 12 years ago
- Related to deleted (Defect #5154: Migrate from Trac with postgresql and more.)
Updated by Toshi MARUYAMA almost 12 years ago
- Has duplicate Defect #5154: Migrate from Trac with postgresql and more. added