Re: [HAB] Force Browsers to encode in utf8
| From: | Rasmus Lerdorf | Date: | Thu, 13 Jan 2005 21:22:00 +0000 |
| Subject: | Re: [HAB] Force Browsers to encode in utf8 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-206322@lists.php.net to get a copy of this message | ||
On Thu, 13 Jan 2005, OOzy Pal wrote:
> My html templates are encoded using utf-8. When the
> browser reads the files as .html it encodes it fine
> and my characters looks fine. However, when php reads
> the files and sends them to the browser the files
> looks ugly and unreadable. How can I force the broswer
> to encode the pages in utf-8.
Your terminology is a bit off, but you can solve your problem by adding
this to your php.inie file:
default_charset="utf-8"
-Rasmus