Strange characters in report

Topics brought up by the TimeTrex open source community.
Post Reply
dmerdan
Posts: 2
Joined: Wed Oct 04, 2023 11:17 am

Strange characters in report

Post by dmerdan »

Hello everyone,

I ve installed the latest version of TimeTrex Community Edition. It sna great piece of sw so far.

We are located on the Balkans, Bosnia and Herzegovina.

Currently I am having troubles while printing a Employee Timesheet report in PDF. The letters čćšđž are not showing corectly, instead od those Letters we are getting some gibberish output.

But the same letters, are showing perfectly in the TimeTrex user interface.

The selected language is Englush, because there is currently no Croatian translation available.

Can I modify some of the php files, to setup correct characterbencoding utf8...

Thanks in Advance.
mikeb
Posts: 706
Joined: Thu Jul 27, 2006 11:58 am

Re: Strange characters in report

Post by mikeb »

Ya, it sounds like a character encoding issue, if your language is set to English it only uses ASCII and not UTF-8 as its much faster. You will need to use some other language than English to have it switch to using UTF-8.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
dmerdan
Posts: 2
Joined: Wed Oct 04, 2023 11:17 am

Re: Strange characters in report

Post by dmerdan »

Yes, I tried it with German, it prints out fine, as it should.

The only thing is our HR department know English but not German.

Is there a way to get around this?

Thanks.
mikeb
Posts: 706
Joined: Thu Jul 27, 2006 11:58 am

Re: Strange characters in report

Post by mikeb »

Are you able to remove the UTF-8 characters from the information displayed on the report? That would be the easiest approach.

If that is not an option, you would have to modify the source code to force all PDF's into UTF-8 mode all the time.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
Post Reply