[rt-users] Encoding error: UTF-16:Unrecognised BOM 53

L B bertignac at gmail.com
Thu Jan 21 07:02:15 EST 2010


Hi,

 A user attached a sql script to a RT and I got this in the logs.

[Thu Jan 21 11:21:03 2010] [error]: Encoding error:
UTF-16:Unrecognised BOM 53 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Encode.pm line 194.

Stack:
  [/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Encode.pm:194]
  [/opt/rt3/bin/../lib/RT/I18N.pm:235]
  [/opt/rt3/bin/../lib/RT/I18N.pm:196]
  [/opt/rt3/bin/../lib/RT/EmailParser.pm:279]
  [/opt/rt3/bin/../lib/RT/Interface/Email.pm:1329]
  [/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:61]
 defaulting to ISO-8859-1 -> UTF-8 (/opt/rt3/bin/../lib/RT/I18N.pm:239)

I run perl 5.8.8 on RHEL 5.3, and my Encode::Unicode module is up to
date. The attachments looks corrupted and is unusable.

# perl -MCPAN -e shell
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.7602)
ReadLine support available (try 'install Bundle::CPAN')

cpan> i /Encode::Unicode/
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Thu, 21 Jan 2010 04:38:15 GMT
Module          Encode::Unicode (D/DA/DANKOGAI/Encode-2.39.tar.gz)
Module          Encode::Unicode::Japanese
(H/HI/HIO/Encode-Unicode-Japanese-0.02.tar.gz)
Module          Encode::Unicode::UTF7 (D/DA/DANKOGAI/Encode-2.39.tar.gz)
3 items found

cpan> install Encode::Unicode
Encode::Unicode is up to date.

cpan>

Any idea ?

-- 
L.B.



More information about the rt-users mailing list