![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 158 Pomógł: 0 Dołączył: 29.06.2003 Skąd: Warszawa Ostrzeżenie: (0%) ![]() ![]() |
Witam,
Mam problem z ustawieniem kodowania plikow na utf-8. Zawartosc plikow wyglada nastepujaco: index.php
header.php
config.php
jak widac ustawione jest kodowanie na utf-8, pliki takze sa zakodowane programem w utf-8 po uruchomieniu wyswietla poprawnie polskie znaki, jednak wyswietla tez jakies bledy: Kod Warning: Cannot modify header information - headers already sent by (output started at c:\usr\apache\httpd\html\tmp\index.php:1) in c:\usr\apache\httpd\html\tmp\config.php on line 4 Warning: Cannot modify header information - headers already sent by (output started at c:\usr\apache\httpd\html\tmp\index.php:1) in c:\usr\apache\httpd\html\tmp\config.php on line 5 Warning: Cannot modify header information - headers already sent by (output started at c:\usr\apache\httpd\html\tmp\index.php:1) in c:\usr\apache\httpd\html\tmp\config.php on line 6 Warning: Cannot modify header information - headers already sent by (output started at c:\usr\apache\httpd\html\tmp\index.php:1) in c:\usr\apache\httpd\html\tmp\config.php on line 7 Warning: Cannot modify header information - headers already sent by (output started at c:\usr\apache\httpd\html\tmp\index.php:1) in c:\usr\apache\httpd\html\tmp\config.php on line 8 próba znaków ąćęłńóśżź ĄĆŁŃÓŚŻŹ co nalezy zmienic, aby tego nie bylo? pozdrawiam i dziekuje za odpowiedzi |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Przyjaciele php.pl Postów: 5 724 Pomógł: 259 Dołączył: 13.04.2004 Skąd: N/A Ostrzeżenie: (0%) ![]() ![]() |
Chyba chodzi o BOM (Byte Order Mark) w Unicode, 3 bajty (chyba 3?(IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) )dodawane przez edytory na poczatku pliku. Sproboj innego edytora Notepad2, SciTE (oba na scintilli), bo chyb nie pracujes pod linuxem.
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 8.10.2025 - 04:43 |