blead @ 162177c1aed1991639f7f0da64e918c034e1148a:
$ ./perl -Ilib utf.pl utf16le 123 bom nl
Got '123'
$ ./perl -Ilib utf.pl utf16le 123 bom
Got '123'
$ ./perl -Ilib utf.pl utf16le 123 '' nl
Got '123'
$ ./perl -Ilib utf.pl utf16le 123 ''
Got '123'
$ ./perl -Ilib utf.pl utf16be 123 bom nl
Got '123'
$ ./perl -Ilib utf.pl utf16be 123 bom
Got '123'
$ ./perl -Ilib utf.pl utf16be 123 '' nl
Got '123'
$ ./perl -Ilib utf.pl utf16be 123 ''
Got '123'