You are here: Re: CSS validator « HTML « IT news, forums, messages
Re: CSS validator

Posted by Jukka K. Korpela on 02/03/07 22:21

Scripsit fuli open:

> I will add either of the above two in the head area.

You should find out which encoding you are actually using and declare that,
instead of trying random magic incantations. When people don't know their
encoding, it's usually windows-1252.

> But as there are
> Chinese symbols in some of the pages, I also need to place following
> meta declaration in the head:
>
> <meta http-equiv="content-type" content="text/html; charset="gb2312"/>

You should only declare the encoding you actually use. If you use <meta>
tags for the purpose, there can only be one such tag per document (page),
though different documents could have different encodings and consequently
different <meta> tags.

So if a particular document is in fact GB2312 encoded, the above <meta> tag
is OK.

> Does this line conflict with either the 8859-1 or UTF-8 line?

Of course. You cannot change the encoding within a document.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

 

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

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