summaryrefslogtreecommitdiff
path: root/ext/XS-APItest
diff options
context:
space:
mode:
Diffstat (limited to 'ext/XS-APItest')
-rw-r--r--ext/XS-APItest/t/utf8.t5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/XS-APItest/t/utf8.t b/ext/XS-APItest/t/utf8.t
index a80c344d85..a05194cfcc 100644
--- a/ext/XS-APItest/t/utf8.t
+++ b/ext/XS-APItest/t/utf8.t
@@ -1183,10 +1183,9 @@ for my $restriction (sort keys %restriction_types) {
SKIP:
{
- isASCII
- or skip "These tests probably break on non-ASCII", 1;
my $simple = join "", "A" .. "J";
- my $utf_ch = "\x{7fffffff}";
+ my $utf_ch = "\x{3f_ffff}"; # Highest code point that is same number
+ # of bytes on ASCII and EBCDIC: 5
utf8::encode($utf_ch);
my $utf_ch_len = length $utf_ch;
note "utf_ch_len $utf_ch_len";