Project

General

Profile

Actions

Defect #8566

closed

Exported PDF UTF-8 Vietnamese not correct

Added by Van Nam Nguyen over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Toshi MARUYAMA
Category:
PDF export
Target version:
Start date:
2011-06-08
Due date:
% Done:

100%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Hi everybody,
I am using Redmine 1.2 on Centos 5.6, Rails 2.3.11, Ruby 1.87.
When i export issues list, the text has strange.
Attached below


Files

export2.pdf (40.8 KB) export2.pdf Van Nam Nguyen, 2011-06-09 06:52
font.png (52.6 KB) font.png Toshi MARUYAMA, 2011-06-09 07:04

Related issues

Related to Redmine - Defect #61: Broken character encoding in pdf exportClosedToshi MARUYAMA

Actions
Related to Redmine - Patch #8312: Switch to TCPDF from FPDF for PDF exportClosedToshi MARUYAMA2011-05-06

Actions
Related to Redmine - Defect #8892: Unused fonts in rfpdf plugin folderClosedToshi MARUYAMA2011-07-24

Actions
Actions #1

Updated by Toshi MARUYAMA over 13 years ago

  • Subject changed from Exported UTF-8 Vietnamese not correct to Exported PDF UTF-8 Vietnamese not correct
  • Assignee deleted (Toshi MARUYAMA)

I changed general_pdf_encoding from UTF-8 to CP1258 in trunk r6018 and 1.2-stable r6019.
source:trunk/config/locales/vi.yml@6013#L192

Please check PDF correct.

Actions #2

Updated by Van Nam Nguyen over 13 years ago

Dear Toshi,
I had changed general_pdf_encoding from UTF-8 to CP1258 in source:trunk/config/locales/vi.yml@6013#L192 but the issue not solved.

Actions #3

Updated by Toshi MARUYAMA over 13 years ago

What font is used in Vietnamese?

Actions #4

Updated by Van Nam Nguyen over 13 years ago

I had install ArialMT font on my PC. But this font not full support Vietnamese. Best for Vietnamese Unicode are Arial, Time New Roman, Tahoma and many unicode Windows font. I think this issue did'nt solve last 1 year http://www.redmine.org/boards/2/topics/10885?r=16448

Actions #5

Updated by Toshi MARUYAMA over 13 years ago

  • % Done changed from 0 to 30
Actions #6

Updated by Toshi MARUYAMA over 13 years ago

I pushed my bitbucket mercurial repository.
Please try it.
https://bitbucket.org/marutosi/redmine-vietnamese-pdf

Actions #7

Updated by Van Nam Nguyen over 13 years ago

Good job Toshi!

The issue has been fix, now Vietnamese display correctly. Thanks you.
May be you need to add this to trunk.

Actions #8

Updated by Toshi MARUYAMA over 13 years ago

  • Target version set to 1.2.1
Actions #9

Updated by Toshi MARUYAMA over 13 years ago

  • Status changed from New to Closed
  • % Done changed from 30 to 100
  • Resolution set to Fixed

Committed in trunk and 1.2-stable, thanks.

Actions #10

Updated by Vinh Nguyen over 13 years ago

Hi, Toshi MARUYAMA and Van Nam Nguyen
I'm a newbie in using redmine. I have problem with "Exported PDF UTF-8 Vietnamese not correct", too.
I try to connect "https://bitbucket.org/marutosi/redmine-vietnamese-pdf" but it has missing.
Can you reupload?

Actions #11

Updated by Toshi MARUYAMA over 13 years ago

This issue is fixed in Redmine 1.2.1.
So, I deleted my Bitbucket Mercurial repository.
Could you upgrade Redmine to 1.2.1?

Actions #12

Updated by Toshi MARUYAMA over 13 years ago

Redmine 1.2 switches fonts by user locale.
To use DejaVuSans fonts, you need to select Vietnamese locale in account setting.

Actions #13

Updated by Vinh Nguyen over 13 years ago

i'm a newbie, so i follow this tutorial "http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_a_sub-URI_on_Windows_with_Apache" to install, and i install redmine 1.0.4
And i don't know how to upgrade redmine 1.2.1
please, help me!

Actions #14

Updated by Vinh Nguyen over 13 years ago

toshio harita MARUYAMA: i have updated redmine 1.2.1, and select Vietnamese locale in account setting, and the bug was fixed, but i have to use Vietnammese in my site. How can i fix this bug, but still use English???

Actions #15

Updated by Vinh Nguyen over 13 years ago

and thanks for your help!

Actions

Also available in: Atom PDF