Project

General

Profile

Actions

Defect #13872

closed

CJK(Chinese/Japanese/Korean) pdf export error on other CJK locales

Added by huang leo about 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
PDF export
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

*only simple Chinese can NOT export pdf. Big5 is fine.

once click pdf export, Internal error will be show. Following is the error log from server:*

Iconv::InvalidEncoding (invalid encoding ("gb18030", "UTF-8")):
  lib/redmine/codeset_util.rb:146:in `initialize'
  lib/redmine/codeset_util.rb:146:in `new'
  lib/redmine/codeset_util.rb:146:in `from_utf8'
  lib/redmine/export/pdf.rb:788:in `rdm_from_utf8'
  lib/redmine/export/pdf.rb:112:in `fix_text_encoding'
  lib/redmine/export/pdf.rb:132:in `RDMCell'
  lib/redmine/export/pdf.rb:441:in `issues_to_pdf'
  app/controllers/issues_controller.rb:89:in `index'
  app/controllers/issues_controller.rb:82:in `index'

Environment:
Redmine version 2.3.0.stable
Ruby version 1.8.7 (x86_64-linux)
Rails version 3.2.13
Environment production
Database adapter MySQL
Redmine plugins:
piwik_plugin 0.1.1
redmine_issue_checklist 2.0.5

Actions

Also available in: Atom PDF