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-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d96bb3716ce2c0c888a3cd0a90ec91c54d739624;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 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']) {