Hi,

Appears a still not solved bug in perl;
http://www.archivum.info/[email protected]/2006-04/msg00275.html

http://11870.com/blog/otrs-y-problemas-con-la-gestion-de-buzones-pop3/
Some latin brothers applied the work around "[...] : edit
/usr/lib/perl5/5.8.8/Net/Cmd.pm and add the following in line 430":

 # XXX - peralta - encoding bug!
 binmode($cmd, ":utf8");

"For who cares here the diff:"

--- Cmd.pm.orig 2007-03-29 16:58:57.000000000 +0200
+++ Cmd.pm      2007-03-28 19:50:36.000000000 +0200
@@ -427,6 +427,8 @@
  my $timeout = $cmd->timeout || undef;

  local $SIG{PIPE} = 'IGNORE' unless $^O eq 'MacOS';
+ # XXX - peralta - encoding bug!
+ binmode($cmd, ":utf8");
  while($len)
   {
    my $wout;



Kind regards,

Frans Stekelenburg
NetDialog Service Center



+31 30 789 3636
www.netdialog.eu

> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf
Of
> Peter Nixon
> Sent: dinsdag 7 april 2009 19:09
> To: [email protected]
> Subject: [otrs] PostMasterPOP3.pl pop problem
> 
> I am have a problem with PostMasterPOP3.pl not pulling some mails from
> an
> Exchange 2003 mailbox. OTRS itself is running on an openSUSE 11.1
> server
> using the rpm at:
> 
>
http://download.opensuse.org/repositories/home:/peternixon/openSUSE_11.
> 1/x86_64/otrs-2.2.6-46.1.x86_64.rpm
> 
> The error generated is:
> 
> From: [email protected]
> To: [email protected]
> Subject: Cron <o...@otrs> $HOME/bin/PostMasterPOP3.pl >> /dev/null
> X-Cron-Env: <mailto=r...@localhost>
> X-Cron-Env: <SHELL=/bin/sh>
> X-Cron-Env: <HOME=/opt/otrs>
> X-Cron-Env: <PATH=/usr/bin:/bin>
> X-Cron-Env: <LOGNAME=otrs>
> X-Cron-Env: <USER=otrs>
> Date: Tue,  7 Apr 2009 16:20:04 +0300 (EEST)
> 
> Wide character in syswrite at /usr/lib/perl5/5.10.0/Net/Cmd.pm line
> 232,
> <PRODUCT> line 4.
> 
> Does anyone have any idea how to fix this? I have a feeling that it is
> related to character encoding somehow. (My users are Turkish and open
a
> fair
> percentage of their tickets in Turkish..)
> 
> Thanks in Advance
> 
> --
> 
> Peter Nixon
> http://peternixon.net/
> 
> 
> ---------------------------------------------------------------------
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
> 
> NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
> http://www.otrs.com/en/support/enterprise-subscription/
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

Reply via email to