Re: [PHP4BETA] beta4 Error with utf-8
| From: | Stig S. Bakken | Date: | Thu, 24 Feb 2000 18:35:53 +0000 |
| Subject: | Re: [PHP4BETA] beta4 Error with utf-8 | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-10890@lists.php.net to get a copy of this message | ||
Stephan Bauer wrote:
>
> This message was sent from Geocrawler.com by "Stephan Bauer"
> <stephan_bauer@gmx.de>
> Be sure to reply to that address.
>
> Hello,
> there is a problem with displaying utf-8 character
> in a PHP-page. The charset is:
> <meta http-equiv="content-type"
> content="text/html;charset=utf-8">
>
> When I change the suffix of the same page to html
> it works.
> It also works with beta3.
Sounds like your browser is confused by file extensions. Have you tried
using PHP's header() function instead of a meta tag? Example:
<?php
header("Content-type: text/html; charset=utf-8");
?>
- Stig