Kod: Zaznacz cały
<html>
<head>
<title>Test PHP</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2" />
</head>
<body>
<?php echo "<p>Witaj Świecie !</p>"; ?>
</body>
</html>
Witaj �wiecie !
Ustawiłem kodowanie na polskie znaki w pliku charset i zrestartowałem apacha, ale to nic nie pomogło. Plik /etc/apache2/conf.d/charset:
Proszę o pomoc w rozwiązaniu tego problemu. Pozdrawiam# Read the documentation before enabling AddDefaultCharset.
# In general, it is only a good idea if you know that all your files
# have this encoding. It will override any encoding given in the files
# in meta http-equiv or xml encoding tags.
#AddDefaultCharset ISO-8859-2