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
--
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php