From: Nicholas Clark Date: Fri, 9 Oct 2009 08:16:15 +0000 (+0200) Subject: Test utf8 with BOMs, like we already test utf16be and utf16le. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9ef34c7a630343a264334ea417c9831f03721082;p=p5sagit%2Fp5-mst-13.2.git Test utf8 with BOMs, like we already test utf16be and utf16le. --- diff --git a/t/comp/utf.t b/t/comp/utf.t index 6421f93..5a57ba9 100644 --- a/t/comp/utf.t +++ b/t/comp/utf.t @@ -20,7 +20,7 @@ BEGIN { BEGIN { require "./test.pl"; } -plan(tests => 15); +plan(tests => 18); my $BOM = chr(0xFEFF); @@ -51,6 +51,9 @@ test("utf16le", 12345, 0); 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";