[BUGFIX] Use UTF-8 by default in Flexforms and Backend
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Utility / File / BasicFileUtility.php
index 048f1ce..5490741 100644 (file)
@@ -517,11 +517,8 @@ class BasicFileUtility {
                        if (!$charset) {
                                if (TYPO3_MODE == 'FE') {
                                        $charset = $GLOBALS['TSFE']->renderCharset;
-                               } elseif (is_object($GLOBALS['LANG'])) {
-                                       // BE assumed:
-                                       $charset = $GLOBALS['LANG']->charSet;
                                } else {
-                                       // best guess
+                                       // Backend
                                        $charset = 'utf-8';
                                }
                        }