Defect #11927

Vietnamese Unicode charater broken when exporting to PDF

Added by Nguyen Dang Quang about 5 years ago. Updated about 5 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:PDF export
Target version:-
Resolution: Affected version:2.1.0

Description

We are using Vietnamese in redmine 2.1 (on CentOS 6.3).
I have searched and found out that this bug happend long before and the issue had been closed.
Please check the attached pdf file to see the bug and show me how to fix it.
Thanks

issues.pdf (310 KB) Nguyen Dang Quang, 2012-09-25 05:20


Related issues

Related to Redmine - Defect #61: Broken character encoding in pdf export Closed
Related to Redmine - Defect #12334: Wiki export to PDF broken format Closed

History

#1 Updated by Toshi MARUYAMA about 5 years ago

  • Category set to PDF export

#2 Updated by Toshi MARUYAMA about 5 years ago

  • Subject changed from Unicode charater broken when exporting to PDF to Vietnamese Unicode charater broken when exporting to PDF

#3 Updated by Toshi MARUYAMA about 5 years ago

Redmine switches PDF font on user locale.
source:tags/2.1.0/lib/redmine/export/pdf.rb#L44

To export Vietnamese, you need to set Vietnamese locale on user preference.

#4 Updated by Nguyen Dang Quang about 5 years ago

I change account language to Vietnamese then I can export PDF in Vietnamese corectly. But If may colleague is not Vietnamese, they will get broken font! It is not comfortable at all. Why redmine not treat all as Unicode? In a multi-language company, I think it is a huge problem.

#5 Updated by Toshi MARUYAMA about 5 years ago

  • Status changed from New to Closed

Nguyen Dang Quang wrote:

I change account language to Vietnamese then I can export PDF in Vietnamese corectly. But If may colleague is not Vietnamese, they will get broken font! It is not comfortable at all. Why redmine not treat all as Unicode? In a multi-language company, I think it is a huge problem.

See #61#note-95

Also available in: Atom PDF