File affected: t/lib/cgi-html.t Here is the patch: --- t/lib/cgi-html.t.orig Mon Oct 30 17:33:41 2000 +++ t/lib/cgi-html.t Mon Oct 30 17:38:52 2000 @@ -82,7 +82,12 @@ test(20,start_table({-border=>undef}) eq '<table border>'); test(21,h1(escapeHTML("this is <not> \x8bright\x9b")) eq '<h1>this is <not> ‹right›</h1>'); charset('utf-8'); +if (ord("\t") == 9) { test(22,h1(escapeHTML("this is <not> \x8bright\x9b")) eq '<h1>this is <not> right</h1>'); +} +else { +test(22,h1(escapeHTML("this is <not> \x8bright\x9b")) eq '<h1>this is <not> »rightº</h1>'); +} test(23,i(p('hello there')) eq '<i><p>hello there</p></i>'); my $q = new CGI; test(24,$q->h1('hi') eq '<h1>hi</h1>'); End of Patch. Peter PrymmerThread Previous | Thread Next