gdebojyoti.mail96
Member
- Messages
- 89
- Reaction score
- 0
- Points
- 6
My PHP files are encoded in UTF-8 format (as I want to use one particular symbol which is not supported by ANSI).
But UTF-8 seems to be affecting the header statement.
Even the simplest of PHP codes is not working -
It is throwing an error "Cannot modify header information – headers already sent".
However when I change the encoding back to ANSI, the problem disappears.
So why is it not working with UTF-8?
But UTF-8 seems to be affecting the header statement.
Even the simplest of PHP codes is not working -
Code:
<?php
header("location: destination.php");
?>
It is throwing an error "Cannot modify header information – headers already sent".
However when I change the encoding back to ANSI, the problem disappears.
So why is it not working with UTF-8?
Last edited: