[TYPO3-core] FYI6: Fix bug #12830: Wrong encoding of JSON data in t3lib_PageRenderer

Oliver Hader oliver at typo3.org
Sun Nov 29 17:28:40 CET 2009


FYI: Committed to SVN Trunk (rev. 6587)

olly


Oliver Hader schrieb:
> This is an SVN patch request that will be committed to SVN after 6
> hours if nobody objects.
> 
> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=12830
> 
> Branch: Trunk
> 
> Problem:
> JSON data that is used and arranged with PHP's json_encode() in
> t3lib_PageRenderer is wrong when it containts special characters on a
> non-UTF-8 environment.
> 
> Solution:
> Convert the labels to UTF-8 again before running json_encode() on the array.
> 
> Notes:
> Thanks to Steffen Kamper for providing an initial patch for this issue.
> 
> olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list