[TASK] Use UTF-8 as default for LanguageService 45/46545/2
authorBenni Mack <benni@typo3.org>
Tue, 9 Feb 2016 11:07:57 +0000 (12:07 +0100)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Fri, 12 Feb 2016 08:00:35 +0000 (09:00 +0100)
commiteaa89879100cecda35bb38c3f026d4ea1a010ce4
treef8bcdf4ddd7060bd68101dda11d5437dc165a516
parentd5f456e32a3be21c0111bf0e1ef012bab90eea67
[TASK] Use UTF-8 as default for LanguageService

The TYPO3 Backend is utf-8 by default since TYPO3 4.5, but certain
places read the value still from $GLOBALS['LANG']->charSet, which
is now always "utf-8".

All occurrences are replaced by "utf-8" for now. Future cleanups
will further simplify these code changes.

Resolves: #73194
Releases: master
Change-Id: I4b68a168ee7f2468b196cd3ccd1336cf6ba8a1df
Reviewed-on: https://review.typo3.org/46545
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
14 files changed:
typo3/sysext/backend/Classes/Form/Wizard/SuggestWizardDefaultReceiver.php
typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php
typo3/sysext/core/Classes/Configuration/FlexForm/FlexFormTools.php
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/extbase/Classes/Utility/LocalizationUtility.php
typo3/sysext/fluid/Classes/ViewHelpers/Format/CropViewHelper.php
typo3/sysext/impexp/Classes/Controller/ImportExportController.php
typo3/sysext/impexp/Classes/Export.php
typo3/sysext/impexp/Classes/Import.php
typo3/sysext/indexed_search/Classes/Example/CrawlerHook.php
typo3/sysext/indexed_search/Classes/Hook/CrawlerHook.php
typo3/sysext/lang/Classes/LanguageService.php
typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateObjectBrowserModuleFunctionController.php