[BUGFIX] resolveDefaultEncoding with wrong fallback
authorMarkus Günther <mail@markus-guenther.de>
Fri, 20 Jul 2012 17:33:23 +0000 (19:33 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 21 Jul 2012 17:35:17 +0000 (19:35 +0200)
commit7f684b1cd7af0d957557f6f2b91e9a05e218e3a7
tree86c639d5714d22168b37097286e0e6667db73abe
parent90aceeabbdffb99e373b75c4bcc8bf1fc4ed7a19
[BUGFIX] resolveDefaultEncoding with wrong fallback

Since TYPO3 4.7 the forceCharset configuration is deprecated. The class
Tx_Fluid_Core_Compiler_AbstractCompiledTemplate still uses the value
configured value $GLOBALS['TYPO3_CONF_VARS']['BE']['forceCharset'].
This patch removes this handling and always sets UTF-8 if no other
default charset is set.

Change-Id: I66b9368ad029326c2e26f4e004483d8b4b18ebe2
Resolves: #37929
Releases: 6.0
Reviewed-on: http://review.typo3.org/12937
Reviewed-by: Tymoteusz Motylewski
Tested-by: Tymoteusz Motylewski
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/fluid/Classes/Core/Compiler/AbstractCompiledTemplate.php
typo3/sysext/fluid/Tests/Unit/Core/Compiler/AbstractCompiledTemplateTest.php [new file with mode: 0644]