Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
decodeHeader() Test:\n";
if ($default_charset == 'utf-8' || $lossy_encoding) {
echo 'Test with lossy_encoding OFF
';
} else {
echo 'Test with lossy_encoding ON
';
}
echo 'Default charset: ' . $default_charset . "
\n"
. 'Lossy_encoding: ' . ($lossy_encoding ? 'true' : 'false') . '
';
echo 'The results of this test depend on your current language (translation) selection (see Options==>Display Preferences) (and the character set it employs) and your $lossy_encoding setting (see config/config.php or conf.pl ==> 10 ==> 5).
';
echo '';
echo "(MDN) 000:\n html chars are not encoded,\n space is not encoded,\n 8bit chars are unmodified\n";
foreach ($header as $test) {
echo htmlentities(decodeHeader($test, false, false, false));
echo "\n";
}
echo "--------\n";
echo "(compose) 001:\n html chars are not encoded,\n space is not encoded,\n 8bit chars may be converted or not (depends on \$lossy_encoding and \$default_charset)\n";
foreach ($header as $test) {
echo htmlentities(decodeHeader($test, false, false, true));
echo "\n";
}
echo "--------\n";
echo "010\n";
foreach ($header as $test) {
echo htmlentities(decodeHeader($test, false, true, false));
echo "\n";
}
echo "--------\n";
echo "011\n";
foreach ($header as $test) {
echo htmlentities(decodeHeader($test, false, true, true));
echo "\n";
}
echo "--------\n";
echo "(download) 100\n";
foreach ($header as $test) {
echo htmlentities(decodeHeader($test, true, false, false));
echo "\n";
}
echo "--------\n";
echo "101\n";
foreach ($header as $test) {
echo htmlentities(decodeHeader($test, true, false, true));
echo "\n";
}
echo "--------\n";
echo "(default) 110\n";
foreach ($header as $test) {
echo htmlentities(decodeHeader($test, true, true, false));
echo "\n";
}
echo "--------\n";
echo "111\n";
foreach ($header as $test) {
echo htmlentities(decodeHeader($test, true, true, true));
echo "\n";
}
echo "--------\n";
echo '