Defect #8566
closedExported PDF UTF-8 Vietnamese not correct
100%
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
Related issues
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.
Updated by Van Nam Nguyen over 13 years ago
- File export2.pdf export2.pdf added
- Assignee set to Toshi MARUYAMA
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.
Updated by Toshi MARUYAMA over 13 years ago
What font is used in Vietnamese?
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
Updated by Toshi MARUYAMA over 13 years ago
I pushed my bitbucket mercurial repository.
Please try it.
https://bitbucket.org/marutosi/redmine-vietnamese-pdf
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.
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.
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?
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?
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.
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!
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???