Re: Accented characters

From: Date: Sun, 21 Nov 2004 20:59:04 +0000
Subject: Re: Accented characters
References: 1 2 3 4 5 6 7 8 9  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-808@lists.php.net to get a copy of this message
David Powers wrote: > 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'); ?> That just has the same effect as setting the meta tag to utf-8 - ie, it works on the local system, doesn't on the live one, even though - as far as I can work out - everything else is effectively equal. Ah well - I guess I can always upload the new version of the site and, if there's a problem, set utf-8 in the headers and have done with it. However, are there likely to be issues with the MySQL server using latin1 (which I seem to have no choice about) and the pages using utf-8? The MySQL tables do store info entered by users into web forms... -- @+ Steve

« previous php.i18n (#808) next »