"Wide character in syswrite" error

Hello! I recently installed otrs and had a world of problems setting up the internationalization. Now it's finally working, at least I thought so. I am using the latest version of OTRS, and a PostgreSQL database backend on Slackware 10.2. I use croatian characters to enter ticket and customer information. I set the default charset to utf-8 in otrs, also the database I created in Postgres is also set to utf-8. I managed to enter a Customer ID which contains the croatian character 'ć', for example. But when I try to search for the same customer by entering their Customer ID that contains a croatian character I get this error: Software error: Wide character in syswrite at /usr/lib/perl5/5.8.7/i486-linux/Sys/Syslog.pm line 401. I checked the Syslog.pm file with "nl Syslog.pm | less" and according to otrs the error should be in the following statement: 399 if (!socket(SYSLOG,AF_INET,SOCK_STREAM,$tcp)) { 400 push(@{$errs}, "tcp socket: $!"); 401 return 0; 402 } More precisely, the line "return 0;". What is this statement supposed to do? Is it causing the error? Is this a bug? I would greatly appreciate any kind of assistance. __________________________________ Tomislav Tomašić Badurini d.o.o. Sorkočevićeva 8 HR-10000 Zagreb Tel. +385 (0)1 6194-060 Fax +385 (0)1 6194-070 tomislav.tomasic@badurini.hr mailto:andreas.schober@porr.at http://www.porr.at/ www.badurini.hr

Tomislav Tomasic wrote:
*Software error:*
Wide character in syswrite at /usr/lib/perl5/5.8.7/i486-linux/Sys/Syslog.pm line 401.
This is because Syslog.pm does not accept characters with ASCII code more than 127. The solution is to switch LogModule in Framework -> Core::Log from "Syslog" to "File". The OTRS will write logfiles itself rather then via syslog, and logs will bе stored in /tmp/otrs*

-----Original Message----- From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Constantin V. Boulatnikoff Sent: Tuesday, November 29, 2005 11:46 AM To: User questions and discussions about OTRS.org Subject: Re: [otrs] "Wide character in syswrite" error Tomislav Tomasic wrote:
*Software error:*
Wide character in syswrite at /usr/lib/perl5/5.8.7/i486->>linux/Sys/Syslog.pm line 401.
This is because Syslog.pm does not accept characters with ASCII code more than 127. The solution is to switch LogModule in Framework -> Core::Log from "Syslog" to "File". The OTRS will write logfiles itself rather then via syslog, and logs will bе stored in /tmp/otrs*
Indeed. Thank you for the hasty reply. You solved my problem. I switched to logging to a file and the error is gone. Thank You. __________________________________ Tomislav Tomašić Badurini d.o.o. Sorkočevićeva 8 HR-10000 Zagreb Tel. +385 (0)1 6194-060 Fax +385 (0)1 6194-070 tomislav.tomasic@badurini.hr www.badurini.hr
participants (2)
-
Constantin V. Boulatnikoff
-
Tomislav Tomasic