From d96bb3716ce2c0c888a3cd0a90ec91c54d739624 Mon Sep 17 00:00:00 2001 From: garvinhicking <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 d43d24f..d8f376c 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -136,7 +136,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