You are here: Re: Character Encoding problem « PHP « IT news, forums, messages
Re: Character Encoding problem

Posted by "Mike Magat" on 07/22/05 09:04

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация