Page MenuHome GnuPG

attribute charset
Closed, ResolvedPublic

Description

Description

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
is only usefull (if ever ...) if it is used as early in the code as
possible. It should be the very first child of 'body'.

Ever preferable was to correctly set up the server by putting

AddCharset  utf-8  .html

into the .htaccess file for the site.

In the moment the Charset sent by the http:-header is contradicting to the
Charset you wrote into the 'meta' elemnt. That may cause unpredictable
results on different browsers.

Werner uses entities for the German umlauts (Ä = &Auml;) anyway.
That is why the misconfiguration does not disturbe much at the moment in
practice.

Documentation for this:
http://httpd.apache.org/docs/mod/mod_mime.html#addcharset

Fix

Unknown

Event Timeline

Problem fixed. charset may be specified on a language-basis, now.