Encoding error: UTF-16:Unrecognised BOM 53


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.

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
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.


Any idea ?