Xymon Mailing List Archive search

[Patch] Add Content-Type headers to html pages

list Christoph Berg
Tue, 19 Jan 2010 13:41:48 +0100
Message-Id: <user-b39f791cd934@xymon.invalid>

We have utf-8 umlauts in the titles of subpages. Some webbrowsers
assume the page is in iso-8859-1 and display the umlauts incorrectly.

Adding the charset to the HTMLCONTENTTYPE doesn't help as that is only
used by the CGI scripts, not the statically generated html pages.

Here is a patch that adds proper META headers to all html pages
(static and dynamic). Please consider it for inclusion in SVN.

Christoph
-- 
user-92157dbc91bf@xymon.invalid | http://www.df7cb.de/