Vote #70094
完了Exported PDF UTF-8 Vietnamese not correct
100%
説明
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
journals
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.
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
What font is used in Vietnamese?
!font.png!
--------------------------------------------------------------------------------
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
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
I pushed my bitbucket mercurial repository.
Please try it.
https://bitbucket.org/marutosi/redmine-vietnamese-pdf
--------------------------------------------------------------------------------
Good job Toshi!
The issue has been fix, now Vietnamese display correctly. Thanks you.
May be you need to add this to trunk.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Committed in trunk and 1.2-stable, thanks.
--------------------------------------------------------------------------------
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?
--------------------------------------------------------------------------------
This issue is fixed in Redmine 1.2.1.
So, I deleted my Bitbucket Mercurial repository.
Could you upgrade Redmine to 1.2.1?
--------------------------------------------------------------------------------
Redmine 1.2 switches fonts by user locale.
To use DejaVuSans fonts, you need to select Vietnamese locale in account setting.
--------------------------------------------------------------------------------
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!
--------------------------------------------------------------------------------
@Toshi 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???
--------------------------------------------------------------------------------
and thanks for your help!
--------------------------------------------------------------------------------
related_issues
relates,Closed,61,Broken character encoding in pdf export
relates,Closed,8312,Switch to TCPDF from FPDF for PDF export
relates,Closed,8892,Unused fonts in rfpdf plugin folder