Description: Each test below contains a line that reads:
<?php include(<filename>); ?>
The external files contain the following code:
<?php echo "<div>Non-ASCII characters followed by their Unicode names:</div>"; echo "<div>é LATIN SMALL LETTER E WITH ACUTE<br />ń LATIN SMALL LETTER N WITH ACUTE<br /> א HEBREW LETTER ALEF<br />क DEVANAGARI LETTER KA<br />あ HIRAGANA LETTER A</div>"; echo "<p>Current PHP version: ".phpversion()."</p>"; ?>
The only difference between files is whether or not they contain a UTF-8 signature.
Objective: Does the presence of a utf-8 signature produce unwanted display effects?
Description: The included UTF-8 encoded PHP file contains a UTF-8 signature (BOM).
Check that the text appears at the top of the box, with no extraneous characters before the 'N'.
Current PHP version: 5.2.6-1+lenny3
Objective: Ensure that nothing else is producing unexpected behaviour in test 1.
Description: The included UTF-8 encoded PHP file does not contain a UTF-8 signature (BOM).
Check that the text appears at the top of the box, with no extraneous characters before the 'N'.
Current PHP version: 5.2.6-1+lenny3
Version: $Id: sec-utf8-signature-3.php,v 1.3 2006/12/15 13:55:59 rishida Exp $