Project

General

Profile

PDF exporter does not support unicode character

Added by Anonymous over 12 years ago

With some language, such us VietNamese (Tiếng Việt). I could not read it after export all GANTT content into PDF file. But PNG file is ok. So hope you improve that funtion. thanks alot. Redmine is my best choice :)

Here is a pic that I captured when open my PDF:


Replies (10)

RE: PDF exporter does not support unicode character - Added by Anonymous over 12 years ago

does anyone help me solve this???

RE: PDF exporter does not support unicode character - Added by Amir Sepahram over 6 years ago

Hi,

I have the same problem with Farsi (Persian) language.

It works OK if I choose Farsi in language setting. But I need to use English interface and be able to export stuff in Farsi. (title, description, wiki contents, etc,. )
I guess export should be Unicode in any language setting, anyway. So, it wouldn't depend on the locale settings.

Any news on this?

Thanks

RE: PDF exporter does not support unicode character - Added by Bernhard Rohloff over 6 years ago

Referring to #8753, Persian language shouldn't be a problem since version V2.6.0.
Which version of Redmine do you have?

RE: PDF exporter does not support unicode character - Added by Amir Sepahram over 6 years ago

Bernhard,

I've just updated to last stable version.
That's definitely not the issue. When I switch to Persian interface, export works absolutely fine. The problem arises while using English interface.

I'm attaching to sample files for clarification.

BTW, here is my Redmine environment:

Environment:
Redmine version 3.4.5.stable
Ruby version 2.3.1-p112 (2016-04-26) [x86_64-linux-gnu]
Rails version 4.2.8
Environment production
Database adapter PostgreSQL
SCM:
Mercurial 3.7.3
Git 2.7.4
Filesystem
Redmine plugins:
progressive_projects_list 3.0.1

RE: PDF exporter does not support unicode character - Added by Dominik Ras over 6 years ago

While on Redmine v3.2 switching to the language of your choice in your user profile preferences should help. It's only a couple of clicks and you're back in business:
- Your profile page
- Edit
- Language
- Select a language
- Click Submit
I need to do that in Polish interface each time I need to export timelog entries to CSV and it's working like a charm. And to be honest, PDF actually does not have that issue for me.

RE: PDF exporter does not support unicode character - Added by Amir Sepahram over 6 years ago

Dominik Ras wrote:

While on Redmine v3.2 switching to the language of your choice in your user profile preferences should help...

Hi,

It's one way to do it. Although, I need to have English as my interface language and be able to export Persian contents correctly. I don't want to change my language to Persian, nor change it temporarily and change it back after export, which is a hassle.
So, problem summary: Keeping English interface + exporting Persian content in UTF.

Thanks

PS. Oh, btw, I don't have such item in my profile. How do I activate it through admin setting for users?

RE: PDF exporter does not support unicode character - Added by Dominik Ras about 6 years ago

Amir, that should be in your user profile right under the email field.

Screenshot_20180828-234103_Chrome.jpg (308 KB) Screenshot_20180828-234103_Chrome.jpg Amir, that should be in your user profile right under the email field.

RE: PDF exporter does not support unicode character - Added by Dominik Ras about 6 years ago

In addition, since you mention that you're not seeing that language option in your user profile, perhaps your admin settings are forcing a default language.

Try reviewing Administration > Settings > Information tab

Look for "Force default language for logged-in users" - try having that unchecked.

RE: PDF exporter does not support unicode character - Added by Amir Sepahram about 6 years ago

Dominik Ras wrote:

Try reviewing Administration > Settings > Information tab
Look for "Force default language for logged-in users" - try having that unchecked.

Dominik,
Million thanks. That worked perfectly and it made my day!

P.S. Although, the main issue, which is not being able to export in UTF in any language, still stands! :)

    (1-10/10)