summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-10-09 10:16:15 +0200
committerNicholas Clark <nick@ccl4.org>2009-10-09 10:16:15 +0200
commit9ef34c7a630343a264334ea417c9831f03721082 (patch)
treea694cb1dd589ca826224cb372e361cce18b112ec /t
parentf2a3bb21a1100f37023e2a89faccca76359cd969 (diff)
downloadperl-9ef34c7a630343a264334ea417c9831f03721082.tar.gz
Test utf8 with BOMs, like we already test utf16be and utf16le.
Diffstat (limited to 't')
-rw-r--r--t/comp/utf.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/comp/utf.t b/t/comp/utf.t
index 6421f9330d..5a57ba99f8 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";