Patrick Lauke skrev:

Richard Ishida
You should at least check that you do declare the encoding in a <meta> tag,
and that it is correct.

Although it's best to also send the correct HTTP header to specify
the document's encoding (otherwise it's the weird situation in which a
browser needs to start receiving the document, then find out via the
META what encoding it's in...which can cause problems in edge cases,
if I remember correctly). Of course, the header and the META should
not contradict each other either.
If you are using META providing charset info, put it immediately after the HEAD element, to not not make this construct more weird than necessarily. Even if using HTTP headers is the first choice, including the META tag can prove useful for people saving the page for offline use, as HTTP headers are usually not saved with the page. I always use both methods.

/AndersN
******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to