From 771e2422d88ed54f654b8e6b9f49e9c1491b4f96 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Fri, 21 Apr 2006 07:58:15 +0000 Subject: [PATCH] only assume that windows has no german utf-8 locales --- include/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']) { -- 2.39.5