summaryrefslogtreecommitdiffstats
path: root/lib/private/util.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/util.php')
-rw-r--r--lib/private/util.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/util.php b/lib/private/util.php
index 988ea5c7c7b..d6c76e0960c 100644
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -1425,10 +1425,12 @@ class OC_Util {
}
/**
+ * Check if PhpCharset config is UTF-8
+ *
* @return string
*/
public static function isPhpCharSetUtf8() {
- return ini_get('default_charset') === 'UTF-8';
+ return strtoupper(ini_get('default_charset')) === 'UTF-8';
}
}