Possible Duplicate:
Headers already sent by PHP
I have two files to test this issue
test-ansi.php (75 bytes)
test-utf.php (78 bytes)
Both were saved with notepad++ using ansi charset and utf charset in each case.
Both have the same content:
<?php
header('Content-Type: text/javascript; charset=utf8');
//
test-ansi.php works fine test-utf.php throws the error: Warning: Cannot modify header information - headers already sent by (output started at /home/unodev/public_html/oo/test-utf.php:1) in /home/unodev/public_html/oo/test-utf.php on line 4
The point is that i need the script (and some includes) coded in utf-8 charset.
What can I do?
Thanks in advance