5 unshift @INC, '../lib';
6 $ENV{PERL5LIB} = '../lib';
7 if ( ord("\t") != 9 ) { # skip on ebcdic platforms
8 print "1..0 # Skip utf8 tests on ebcdic platform.\n";
18 my ($got,$expect) = @_;
19 print "# expected [$expect], got [$got]\nnot " if $got ne $expect;
26 s/([\x{80}-\x{10ffff}])/"&#".ord($1).";"/eg;
31 my $rx = "\x{80}-\x{10ffff}";
32 s/([$rx])/"&#".ord($1).";"/eg;
37 my $rx = "\\x{80}-\\x{10ffff}";
38 s/([$rx])/"&#".ord($1).";"/eg;
47 $_ = "alphaNUMERICstring";
52 $_ = "alphaNUMERICstring";
57 $_ = "alphaNUMERICstring";
67 $_ = "alphaNUMERICstring";
72 $_ = "alpha123numeric456";
77 $_ = "alpha123numeric456";
82 $_ = ",123alpha,456numeric";