BEGIN { require "./test.pl"; }
-plan(tests => 15);
+plan(tests => 18);
my $BOM = chr(0xFEFF);
test("utf16be", 123, 0);
test("utf16be", 1234, 0);
test("utf16be", 12345, 0);
+test("utf8", 123, 0);
+test("utf8", 1234, 0);
+test("utf8", 12345, 0);
END {
1 while unlink "utf$$.pl";