Witam mam dziwny problem z kodowaniem polskich znakow.Najgorsze w tym ze deklaruje polskie znaki w meta.Jest to skrypcik losowych cytatow z pliku txt.Na przegladarce nie wyswietlaja mi sie polskie zanki albo wyswietlaja sie niektore polskie na ż a ą juz nie itp.Prosze o pomoc Zamieszczam kod ponizej dodam iz plik ma format php a nie html
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-2" />
<meta http-equiv="Pragma" content="no-cache" />
<meta name="Author" content="Łukasz Stolarski" />
<meta name="Authoring_tool" content="PHP Webpage Editor" />
</head>
<?
// Quick random quote
// This script reads a quote file (flat text file), and picks one of the loaded
// quotes at random and displays it.
// Line breaks and formatting can be put into the quotefile as HTML tags
// Place the quotes.txt on your site, edit the $quotefile variable below,
// And copy and paste this code into your PHP page.
// $delim tells this script what delimits the quotes (default is a CR/LF)
$delim = "\n";
// $wuotefile points to the file that holds the actual quotes
$quotefile = "quotes.txt";
$fp = fopen($quotefile, "r"); $quote_arr = explode($delim,$contents); $herequote = $quote_arr[$quote_index];
?>
</html>