Have You commented out Header() function?

Marek Kilimajer wrote:

Please reply to the list, your chance of getting answer will increase. Use reply all button if Netscape/7.02 has it.

I tried you example, except that my editor saved the page in unicode, so I had to change windows-1251 to utf-8. Then it displayed correctly.

Cheba wrote:

Ok. Try Yourself.

<?php

Header('Content-type: text/html; charset=windows-1251');

echo '
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=windows-1251">
</head>
<body>
Русский Українська
</body>
</html>';


?>

You shold have Cyrillic fonts to see difference.
Comment out line 3 (the Header() function).

Marek Kilimajer wrote:

That was the first mistake I noticed, now I see it was completely wrong, it should be:
<meta http-equiv="Content-type" content="text/html; charset=windows-1251">







-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to