Re: Accented characters

From: Date: Sun, 21 Nov 2004 18:50:24 +0000
Subject: Re: Accented characters
References: 1 2 3 4 5 6 7 8  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-807@lists.php.net to get a copy of this message
steve wrote: > When I view the same page locally, it also comes down as iso-8859-1, > but the characters do not render correctly - instead each accented > char appears as two characters. When I switch the browser to utf-8, > it renders correctly. Try this right at the top of the page before any headers are sent, and remove the charset metatag from the document <head>: <?php header('Content-Type: text/html; charset=utf-8'); ?> -- David Powers ******************************************* Co-author, "PHP Web Development with Dreamweaver MX 2004" (Apress) http://computerbookshelf.com/phpdw.php

« previous php.i18n (#807) next »