Error when submitting a ticket with Arabic text

Moderator: crythias

Locked
heinrich_neumann
Znuny newbie
Posts: 16
Joined: 31 Oct 2010, 14:10
Znuny Version: 2.4.7

Error when submitting a ticket with Arabic text

Post by heinrich_neumann »

When submitting a ticket with Arabic Subject and Text I get the following error message:
"Wide character in syswrite at /usr/lib/perl/5.10/Sys/Syslog.pm line 482"
In the Agent Dashboard the ticket appears as "New Ticket"; however, the subject is displayed as question marks similar to -> "??? ????? ??"; when clicking on the ticket
and trying to zoom nothing is displayed, empty screen only. Changing the char coding to UTF-8 didn't help. OTRS version is 2.7, OS is Ubuntu 10.04.
Any help is gratefully appreciated --heinrich
bahavar
Znuny newbie
Posts: 11
Joined: 14 Mar 2011, 15:49
Znuny Version: 3.0.4

Re: Error when submitting a ticket with Arabic text

Post by bahavar »

hi,
i ran in the same problem for persian,
after doing a little debugging i found out that syslog has some problem with non ascii characters,
to fix it in Core::Log
change LogModule::SysLog::Charset from UTF-8 to iso-8859-1
which solved my problem.

or you can decide not to use syslog and change LogModule to File instead which should work as well.
Cheers :D
heinrich_neumann
Znuny newbie
Posts: 16
Joined: 31 Oct 2010, 14:10
Znuny Version: 2.4.7

Re: Error when submitting a ticket with Arabic text

Post by heinrich_neumann »

Thank you very much, seems to work for me, as well, however for body text only;
"Subject" text is still corrupted, e.g.
Subject: ÈÑäÇãÌ äíÑæ
Any idea?
Dankeschoen!!
Locked