X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Funi%2Fcase.pl;h=b6df5a8089bc42cb5fde6bac9e9341ef407db79f;hb=1858f5c364ee8a037ee41664a9d5964814b7e038;hp=17f78142c31784220c75adae42724a0e1dfd2adb;hpb=0c23d0e05cbaf49b7d1af4bdcdf8c1bcda2eaa0b;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/uni/case.pl b/t/uni/case.pl index 17f7814..b6df5a8 100644 --- a/t/uni/case.pl +++ b/t/uni/case.pl @@ -95,7 +95,13 @@ sub casetest { # # The uppercase exceptions are identical. # - if ($i =~ /^(0149|01F0|1E96|1E97|1E98|1E99|1E9A)$/) { + # The lowercase has one more: + # + # Unicode Unicode+EBCDIC + # + # 0130 -> 0069 0307 (00D1 0307) + # + if ($i =~ /^(0130|0149|01F0|1E96|1E97|1E98|1E99|1E9A)$/) { $e =~ s/004E/002B/; # N $e =~ s/004A/00A2/; # J $e =~ s/0048/00E7/; # H @@ -103,6 +109,7 @@ sub casetest { $e =~ s/0057/00EF/; # W $e =~ s/0059/00DF/; # Y $e =~ s/0041/00A0/; # A + $e =~ s/0069/00D1/; # i } # We have to map the output, not the input, because # pack/unpack U has been EBCDICified, too, it would