diff options
author | SADAHIRO Tomoyuki <BQW10602@nifty.com> | 2005-10-08 09:59:00 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-10-09 14:31:47 +0000 |
commit | 08f0b2b7f9feafffc15f9227d059db1adf6e653a (patch) | |
tree | dc9b521116d6104bbd0abe76331b7a9929b240f5 /lib | |
parent | 3ae60cb4c1405a7e1d788854171adf3288ef6a15 (diff) | |
download | perl-08f0b2b7f9feafffc15f9227d059db1adf6e653a.tar.gz |
undef IS_UTF8_CHAR() on EBCDIC
Message-Id: <20051008165752.348A.BQW10602@nifty.com>
p4raw-id: //depot/perl@25716
Diffstat (limited to 'lib')
-rw-r--r-- | lib/utf8.t | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/utf8.t b/lib/utf8.t index 70ef1e3294..81ebc22161 100644 --- a/lib/utf8.t +++ b/lib/utf8.t @@ -37,7 +37,7 @@ no utf8; # Ironic, no? # # -plan tests => 146; +plan tests => 150; { # bug id 20001009.001 @@ -431,3 +431,11 @@ SKIP: { qr/Undefined subroutine utf8::moo/, {stderr=>1}, "Check Carp is loaded for AUTOLOADing errors") } + +{ + # failure of is_utf8_char() without NATIVE_TO_UTF on EBCDIC (0260..027F) + ok(utf8::valid(chr(0x250)), "0x250"); + ok(utf8::valid(chr(0x260)), "0x260"); + ok(utf8::valid(chr(0x270)), "0x270"); + ok(utf8::valid(chr(0x280)), "0x280"); +} |