Project

General

Profile

Actions

Defect #6505

closed

PDF export broken with Japanese (Gannt and Issue Tracking)

Added by Leo Hourvitz about 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
PDF export
Target version:
-
Start date:
2010-09-27
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

When exporting Gannts or Issue Lists to PDF, the Japanese-language text is garbled (the English-language text comes out fine). A sample image is attached.

I suspect this will be true of any PDF export, but those are the two exports I've tried this with.

Note that unlike the report regarding Hebrew, this is not true of CSV export for Issue Lists; those come out fine via the UTF-8 encoding.

  • CentOS 5.3
  • MySQL 5.0.77 (yes my charset is UTF-8)
  • ruby 1.8.7
  • Rails 1.2.6 (I think, I'm using the one that was packaged with redmine 1.0.1)

I'm in Tokyo so this would seem to rule out decent printing from Redmine. Because CSV export works, there's always that workaround for Issue Lists.

I've read about the GANTT rewrite, but the fact this is in issue list export as well suggests it's something more generic. I listed the two related reports, but I couldn't see anything where this was resolved.


Files

JapaneseBecomesGarbage.png (9.93 KB) JapaneseBecomesGarbage.png A sample of the mangled output Leo Hourvitz, 2010-09-27 05:48
japanese.rb.patch (2.82 KB) japanese.rb.patch Jun NAITOH, 2011-03-21 04:12
korean.rb.patch (3.29 KB) korean.rb.patch Jun NAITOH, 2011-03-21 04:12
chinese.rb.patch (3.14 KB) chinese.rb.patch Jun NAITOH, 2011-03-21 04:12
pdf.rb_utf8.patch (9.79 KB) pdf.rb_utf8.patch Jun NAITOH, 2011-03-22 22:24
gantt.rb_utf8.patch (5.14 KB) gantt.rb_utf8.patch Jun NAITOH, 2011-03-22 22:24
korean.rb_utf8.patch (1.86 KB) korean.rb_utf8.patch Jun NAITOH, 2011-03-22 22:24
japanese.rb_utf8.patch (1.05 KB) japanese.rb_utf8.patch Jun NAITOH, 2011-03-22 22:24
chinese.rb_utf8.patch (1.62 KB) chinese.rb_utf8.patch Jun NAITOH, 2011-03-22 22:24

Related issues

Related to Redmine - Defect #5884: PDF export doesn't work for HebrewClosed2010-07-15

Actions
Related to Redmine - Feature #4699: Export PDF in Chinese and Japanese language is get well in redmine 0.8.7Closed2010-01-31

Actions
Related to Redmine - Defect #7794: Internal server error on formatting an issue as a PDF in JapaneseClosedToshi MARUYAMA2011-03-06

Actions
Related to Redmine - Defect #4787: Gannt to PNG - CJK (Chinese, Japanese and Korean) characters appear as ?ClosedToshi MARUYAMA2010-02-10

Actions
Is duplicate of Redmine - Defect #61: Broken character encoding in pdf exportClosedToshi MARUYAMA

Actions
Actions

Also available in: Atom PDF