From: garvinhicking Date: Fri, 21 Apr 2006 07:58:15 +0000 (+0000) Subject: only assume that windows has no german utf-8 locales X-Git-Tag: 1.0~38 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=771e2422d88ed54f654b8e6b9f49e9c1491b4f96;p=s9y.git only assume that windows has no german utf-8 locales --- diff --git a/include/functions.inc.php b/include/functions.inc.php index 8f729e4..bddfea7 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -80,7 +80,7 @@ function serendipity_strftime($format, $timestamp = null, $useOffset = true) { if ($is_win_utf === null) { // Windows does not have UTF-8 locales. - $is_win_utf = (LANG_CHARSET == 'UTF-8' && strtoupper(substr(PHP_OS, 0, 3)) === 'WIN' ? true : false); + $is_win_utf = (LANG_CHARSET == 'UTF-8' && $serendipity['lang'] == 'de' && strtoupper(substr(PHP_OS, 0, 3)) === 'WIN' ? true : false); } switch($serendipity['calendar']) {