blob: 438d21f1ecd4890f2f054fa4418ebda954116559 [file] [log] [blame]
#!/usr/bin/perl
# Test that BOM can override whatever charset was set in Content-Type
# (this is not the behavior of Firefox, nor expected by any standard).
print "Content-type: text/html;charset=x-mac-hebrew\r\n";
print "\r\n";
print "\xef\xbb\xbf";
print "SUССESS";
print "<script>if (window.testRunner) testRunner.dumpAsText();</script>";