CSS charset header must be emitted, thanks to SADtg

This commit is contained in:
Garvin Hicking 2007-04-12 09:22:44 +00:00
parent c580fa35d3
commit 15288daadd
2 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,9 @@
Version 1.2 ()
------------------------------------------------------------------------
* Add proper charset to CSS stylesheet. Thanks to SADtg
(garvinhicking)
* Strip tags from comments also in RSS-Feeds for comments, thanks to
tmix from the forums (garvinhicking)

View File

@ -57,7 +57,7 @@ if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false) {
header('Pragma:');
header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', time()+3600));
}
header('Content-type: text/css');
header('Content-type: text/css; charset=' . LANG_CHARSET);
if (IS_installed === false) {
if (file_exists(S9Y_INCLUDE_PATH . 'templates/' . $serendipity['defaultTemplate'] . '/' . $css_file)) {