[FEATURE] Auto-detect charset conversion 63/45663/4
authorBenni Mack <benni@typo3.org>
Thu, 7 Jan 2016 20:21:00 +0000 (21:21 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Fri, 8 Jan 2016 04:50:35 +0000 (05:50 +0100)
commit384db09acbe49d85299114854f33d66c631a44c9
tree95fd0067daa08298723f4c140f606021de2b7f77
parent05941cb63e40cc637bb60a3445ab5e205e47d572
[FEATURE] Auto-detect charset conversion

The CharsetConverter previously had to be configured
to detect if mbstring or iconv or TYPO3's homemade code
via the $TYPO3_CONF_VARS options.

Since CharsetConverter is now a singleton, the check
which conversion strategy should be chosen is now done
during runtime once every request, where mbstring
takes precedence over iconv.

The feature detection in the Install Tool is removed.

Resolves: #72337
Releases: master
Change-Id: Iaa34ed9db2faec0eda9606a399541e564499baa3
Reviewed-on: https://review.typo3.org/45663
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
13 files changed:
typo3/sysext/core/Classes/Charset/CharsetConverter.php
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/core/Documentation/Changelog/master/Feature-72337-CharsetConversionAutodetection.rst [new file with mode: 0644]
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php
typo3/sysext/install/Classes/Configuration/Charset/CharsetFeature.php [deleted file]
typo3/sysext/install/Classes/Configuration/Charset/CoreInternalPreset.php [deleted file]
typo3/sysext/install/Classes/Configuration/Charset/CustomPreset.php [deleted file]
typo3/sysext/install/Classes/Configuration/Charset/IconvPreset.php [deleted file]
typo3/sysext/install/Classes/Configuration/Charset/MbstringPreset.php [deleted file]
typo3/sysext/install/Classes/Configuration/Context/DebugPreset.php
typo3/sysext/install/Classes/Configuration/Context/LivePreset.php
typo3/sysext/install/Classes/Configuration/FeatureManager.php
typo3/sysext/install/Classes/Service/SilentConfigurationUpgradeService.php