Re: Character Encoding problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Are characters such as àâáâãäåèéêë and others like them considered UTF-8 characters? If it is considered UTF-8 characters, it still manages itself to be displayed correctly under ISO-8859-1. The page contains those type of characters and it is being displayed under ISO-8859-1. However, if I chance the charset to UTF-8, all those characters turns into a diamond with a question mark in it (in Firefox) or probably just question marks in Internet Explorer.

How can I fix this? How can I display those type of characters under UTF-8?

Well, if you've set the encoding to ISO-8859-1 and then output utf-8
characters I would expect them not to display properly. Or am I not
understanding the problem correctly? From what I see, you can either change
the encoding of the page, or use a function like utf8_decode() to transform
utf-8 characters into iso-8859-1 (which, of course, is not always possible).


Marco

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux