You are here: Re: character sets « PHP Programming Language « IT news, forums, messages
Re: character sets

Posted by Michael Fesser on 01/09/07 19:07

..oO(no@email.com)

>well, i had a similar problem and solved it by encoding my index.html
>with utf-8, by adding this meta tag:
>
><meta http-equiv="content-type" content="application/xhtml+xml;
>charset=UTF-8" />

That doesn't solve the problem and is completely meaningless in XHTML.
Additionally I doubt that you're really delivering all your pages as
application/xhtml+xml, because they won't work in IE. That means that
the above declaration most likely contradicts what the server sends
actually.

The correct way is to configure the web server accordingly, so that the
used character encoding is sent along with the content type in the HTTP
response header. These meta-http-equiv crutches don't serve any purpose
in the WWW. They may be useful for locally stored documents, but that's
another story.

Micha

 

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

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