Re: UTF8 breaks everything

From: Date: Sun, 03 Oct 2004 15:46:49 +0000
Subject: Re: UTF8 breaks everything
References: 1 2 3 4  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969364397@lists.php.net to get a copy of this message
Nuno Lopes wrote:
Ref: http://phpdoc.tsn.dk/da/function.mail.html
Your server is returning: Content-Type: text/html; charset=iso-8859-1 It needs to send: Content-Type: text/html; charset=UTF-8
AllowOverride was not set to "All" for the livedocs directory, fixing that solved the problem (because now the .htaccess file is read). However once the page has been generated, the php_value is nolonger in effect, because now it's just a plain .html file that is opened and not a PHP file, which makes the webserver send the content-type "iso-8859-1" and again produces the problem above?
Looks like you need to add a .htaccess file with: AddCharset UTF-8 .html
That should be added to the .htaccess created by livedocs. -- Tom

« previous php.doc (#969364397) next »