[SOLVED] Ticket Messages are cut if german umlauts äöüß in

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
tpoth
Posts: 3
Joined: Wed Nov 09, 2011 10:09 am

[SOLVED] Ticket Messages are cut if german umlauts äöüß in

Post by tpoth »

Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: UMLAUT, GERMAN TICKET SAVE

Write your message below:

Dear Board,

I installed hesk 2.3 on our hosting Webspace in Germany called Mittwald
The installed software on this host ist as follows:
- PHP 5.3.8
- MYSQL 5.0

Now if i try to save any German characters, like äöüß, the text in the db will be cutted at the german characters position.

Do you have any hints.

If i load the text back from the db, i.e. any tickets, the text ist cut.
I think, that's because of a security feature.

Hesk is a really nice looking software, it would'nt be nice if i can't use it in germany.

Regards
Thomas
Last edited by tpoth on Wed Nov 09, 2011 11:51 am, edited 1 time in total.
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Ticket Messages are cut if there are german umlauts äöüß

Post by Klemen »

This is something your hosting company is truncating, it's not a HESK security feature.

I tested it in the demo and it works fine there:
http://www.hesk.com/demo/ticket.php?track=E9J-MAV-X4HB

Do you use the translated (German) version or English?
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
tpoth
Posts: 3
Joined: Wed Nov 09, 2011 10:09 am

Re: Ticket Messages are cut if there are german umlauts äöüß

Post by tpoth »

I've downloaded the english version and put the translated de directoy from this board on the server.
That's it.

I'll have a look into the database.
maybe there's an encoding problem.

Thx Thomas

The DB seems to work fine.
The collation is utf8_unicode_ci

I inserted any äöü in a phpmyadmin session to a ticket directly

if i view the ticket in hesk there is shown Image

The To chars after W in the second line was entered in the phpmyadmin as ä.

any idea?
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Ticket Messages are cut if there are german umlauts äöüß

Post by Klemen »

Try using this file instead (upload to your "language/de/" folder):
http://www.phpjunkyard.com/extras/text.zip

Then close all browser windows, open HESK again, refresh the page and see if you can now post normally.
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
tpoth
Posts: 3
Joined: Wed Nov 09, 2011 10:09 am

Re: Ticket Messages are cut if there are german umlauts äöüß

Post by tpoth »

Thx that worked for me.

What's the difference between these files.

I'm realy happy to test your solution now.
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: [SOLVED] Ticket Messages are cut if german umlauts äöüß

Post by Klemen »

The new files has encoding set to UTF-8 and saved as a UTF-8 encoded file without byte mark order.

Glad to hear it worked.
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