[!!!][TASK] Remove deprecated code from charset converter
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / Classes / Controller / TypoScriptFrontendController.php
index dad00cb..370f1fc 100644 (file)
@@ -4730,7 +4730,7 @@ class TypoScriptFrontendController implements LoggerAwareInterface
             /** @var CharsetConverter $charsetConverter */
             $charsetConverter = GeneralUtility::makeInstance(CharsetConverter::class);
             try {
-                $content = $charsetConverter->conv($content, 'utf-8', $this->metaCharset, true);
+                $content = $charsetConverter->conv($content, 'utf-8', $this->metaCharset);
             } catch (UnknownCharsetException $e) {
                 throw new \RuntimeException('Invalid config.metaCharset: ' . $e->getMessage(), 1508916185);
             }