diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-10-09 10:16:15 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-10-09 10:16:15 +0200 |
commit | 9ef34c7a630343a264334ea417c9831f03721082 (patch) | |
tree | a694cb1dd589ca826224cb372e361cce18b112ec /t | |
parent | f2a3bb21a1100f37023e2a89faccca76359cd969 (diff) | |
download | perl-9ef34c7a630343a264334ea417c9831f03721082.tar.gz |
Test utf8 with BOMs, like we already test utf16be and utf16le.
Diffstat (limited to 't')
-rw-r--r-- | t/comp/utf.t | 5 |
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"; |