Page 1 of 1

Strange characters in report

Posted: Wed Oct 04, 2023 12:11 pm
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.

Re: Strange characters in report

Posted: Wed Oct 04, 2023 4:19 pm
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.

Re: Strange characters in report

Posted: Wed Oct 04, 2023 10:44 pm
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.

Re: Strange characters in report

Posted: Thu Oct 05, 2023 11:17 am
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.