Re: Accented characters

steve <[email protected]>
Newsgroups gmane.comp.php.internationalization
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.