[rt-users] "Unrecognised line" error from EmailParser

Ruslan U. Zakirov cubic at acronis.ru
Tue Aug 31 03:50:10 EDT 2004


Please read FAQ. You want upgrade your perl.
http://wiki.bestpractical.com/?FAQ

Nathan Ward wrote:
> I have applied the following patch to my RT installation, but am still  
> getting the following error:
> 
> <snip>
> Unrecognised line: Nathan Ward <nward at quicksilver.co.nz> at  
> /usr/local/rt-3.2.1/lib/RT/EmailParser.pm line 449
> </snip>
> 
> <snip>
> Modified: lib/RT/EmailParser.pm
> ======================================================================== 
> ======
> --- lib/RT/EmailParser.pm       (original)
> +++ lib/RT/EmailParser.pm       Fri Jul 30 15:59:24 2004
> @@ -467,6 +467,8 @@
>      my $self = shift;
>      my $Addr = shift;
> 
> +    # Perl 5.8.0 breaks when doing regex matches on utf8
> +    Encode::_utf8_off($Addr) if $] == 5.008;
>      my @Addresses = Mail::Address->parse($Addr);
> 
>      my $AddrObj = $Addresses[0];
> </snip>
> 
> I'm running perl-5.8.0 on RHEL3, which others seem to have working..
> Anyone have any thoughts as to why this error remains?
> Is there a way to test that the utf8 flag is actually being turned off,  
> and print a message to STDERR?
> 
> -- 
> Nathan Ward
> 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT wiki at http://wiki.bestpractical.com




More information about the rt-users mailing list