Strona 1 z 1

Problem z kodowaniem

: sob lip 28, 2007 11:26 am
autor: 123456789
mam problem jak pisze cos do pliku.php to jak wyswietlam strone nie mam polskich znakow tam gdzie byla funkcja echo() lub print()

a mam ustawione w meta na polski

jak zrobic zeby tez wyswietlalo po polsku znaki???

Kod: Zaznacz cały

<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-2">
<title>PHP do obslugi wysylania formularza</title>
</head>

<body>

<?php
include ('config.php');

...............

Re: Problem z kodowaniem

: sob lip 28, 2007 4:04 pm
autor: slawko
Sprawdź na serwerze w pliku httpd.conf jakie masz ustawienia
AddDefaultCharset ISO-8859-2

#
# Commonly used filename extensions to character sets. You probably
# want to avoid clashes with the language extensions, unless you
# are good at carefully testing your setup after each change.
# See http://www.iana.org/assignments/character-sets for the
# official list of charset names and their respective RFCs.
#
AddCharset ISO-8859-1 .iso8859-1 .latin1
AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
[/i]

Re: Problem z kodowaniem

: sob lip 28, 2007 5:00 pm
autor: 123456789
ok juz wszystko ok dzieki