[TASK] Remove iconv support and use mbstring-polyfill 07/50607/10
authorMarkus Klein <markus.klein@typo3.org>
Sat, 12 Nov 2016 15:21:22 +0000 (16:21 +0100)
committerBenni Mack <benni@typo3.org>
Mon, 5 Dec 2016 05:35:48 +0000 (06:35 +0100)
commit0cad88039e7f5d1b557b840235b86ad528990607
treeb77bb7cec052904bf00a9b06aef6e740adbb99c8
parentedbaad16482eb3451e47a05ac051594d0f9efbea
[TASK] Remove iconv support and use mbstring-polyfill

We remove the iconv support in the CharsetConverter as the PHP internal
implementation of some functions differ from their mb_string pendants.
This gives us a real headache in edge-cases.

We already have the mbstring-polyfill as an indirect dependency in
the Core (by symfony), so we simply require it our own now and use
mb_string all over the places.

This renders quite a few methods of CharsetConverter useless
and we therefore deprecate those.

Resolves: #78670
Releases: master
Change-Id: I88479f7939e0afb46f704d4e8f347abd2e10fc6d
Reviewed-on: https://review.typo3.org/50607
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
22 files changed:
composer.json
composer.lock
typo3/sysext/compatibility7/Classes/Controller/SearchFormController.php
typo3/sysext/core/Classes/Charset/CharsetConverter.php
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/core/Classes/Encoder/JavaScriptEncoder.php
typo3/sysext/core/Classes/Resource/Driver/AbstractHierarchicalFilesystemDriver.php
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/core/Documentation/Changelog/8.0/Breaking-72497-RemovedRecodeSupportForCharsetConversion.rst
typo3/sysext/core/Documentation/Changelog/8.0/Feature-72337-CharsetConversionAutodetection.rst
typo3/sysext/core/Documentation/Changelog/8.3/Deprecation-76804-DeprecateGeneralUtilitystrtoupperStrtolower.rst
typo3/sysext/core/Documentation/Changelog/master/Deprecation-78670-DeprecatedCharsetConverterMethods.rst [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Query.php
typo3/sysext/fluid/Classes/ViewHelpers/Format/CaseViewHelper.php
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Classes/Imaging/GifBuilder.php
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php
typo3/sysext/indexed_search/Classes/Controller/SearchController.php
typo3/sysext/indexed_search/Classes/Indexer.php
typo3/sysext/indexed_search/Classes/Lexer.php
typo3/sysext/rtehtmlarea/Classes/Controller/SpellCheckingController.php
typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateObjectBrowserModuleFunctionController.php