UTF 8 language files on Hesk 2.0

Everything related to Hesk - helpdesk software

Moderator: mkoch227

Post Reply
young_gun
Posts: 4
Joined: Sun Feb 08, 2009 7:06 pm

UTF 8 language files on Hesk 2.0

Post by young_gun »

First off all thanks for all the great work on developing Hesk! It's a great and professional script.

I was starting to use Hesk 0.94 when 2.0 came out... im Portuguese and i was translating and testing Hesk on my local pc.

On 0.94 i was unable to use utf8 encoded language file but i could use email .txt files on utf8 without any issues.

On 2.0 i found that i now can use utf8 language files (it wont work on iso-8859 anymore), but i cant use utf8 .txt email files...

It was not a big problem if sometimes on Hesk the language files and emails are mixed when using variables that are found on the db to send some emails like %%SITE_TITLE%% or even sometimes when a costumer uses a special character like an "~" on the subject for certain ticket.

Is somehow possible to use the same encoding on both files? Maybe utf8 on .txt email language files..

I don't know if it's the better way to explain this and if you could understand my bad English...

Thanks!
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

You can try something like this:
viewtopic.php?t=2012
Just make sure you use UTF-8 instead of iso-8859-1
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
young_gun
Posts: 4
Joined: Sun Feb 08, 2009 7:06 pm

Post by young_gun »

Thanks for the reply Klemen!

In the topic you linked i didn't understand witch files i have to change...

Could you please help-me a bit more!

Thanks once again!
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Try reading all my replies in that topic again. My first reply there says
inside submit_ticket.php, reply_ticket.php and admin_reply_ticket.php:
Go ahead, follow those instructions and come back if you have any problems.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
young_gun
Posts: 4
Joined: Sun Feb 08, 2009 7:06 pm

Post by young_gun »

Thanks Klemen!

Sorry for my second post but the topic is a bit confusing...

I have this working ok with your instructions from that topic but in your first post if i understood well you said that the code should be after the @mail line and some posts after you say that the code should be before!

The write way is before the @mail line as you say on the 6º post from that topic!

It works ok now with everything in utf-8 !

Thanks once again for your great work with your scripts!
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Glad you got it working. And don't feel offended because I'm not posting solutions right away, I'm trying to learn forum users to first try their best to solve it themselves :wink:
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply