[TYPO3-core] FYI6: Fix bug #12830: Wrong encoding of JSON data in t3lib_PageRenderer
Oliver Hader
oliver at typo3.org
Sun Nov 29 13:01:06 CET 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012830_v2.patch
Type: text/x-patch
Size: 1985 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091129/106f72d0/attachment.bin>
More information about the TYPO3-team-core
mailing list