summaryrefslogtreecommitdiff
path: root/t/pragma/utf8.t
diff options
context:
space:
mode:
Diffstat (limited to 't/pragma/utf8.t')
-rwxr-xr-xt/pragma/utf8.t8
1 files changed, 7 insertions, 1 deletions
diff --git a/t/pragma/utf8.t b/t/pragma/utf8.t
index 8db3d1a305..d1546feeaf 100755
--- a/t/pragma/utf8.t
+++ b/t/pragma/utf8.t
@@ -10,7 +10,7 @@ BEGIN {
}
}
-print "1..65\n";
+print "1..66\n";
my $test = 1;
@@ -289,3 +289,9 @@ sub ok_bytes {
ok "\x{ab}" =~ /^\x{ab}$/, 1;
$test++; # 65
}
+
+{
+ use utf8;
+ ok_bytes chr(0xe2), pack("C*", 0xc3, 0xa2);
+ $test++; # 66
+}