EBCDIC: the character codes are different.
Jarkko Hietaniemi [Sat, 23 Mar 2002 17:09:17 +0000 (17:09 +0000)]
p4raw-id: //depot/perl@15440

lib/Pod/t/pod2html-lib.pl

index de26389..c3d96ae 100644 (file)
@@ -25,6 +25,9 @@ sub convert_n_test {
     # expected
     my $expect = <DATA>;
     $expect =~ s/\[PERLADMIN\]/$Config::Config{perladmin}/;
+    if (ord("A") == 193) { # EBCDIC.
+       $expect =~ s/item_mat%3c%21%3e/item_mat%4c%5a%6e/;
+    }
 
     # result
     open my $in, $outfile or die "cannot open $outfile: $!";