[TYPO3-core] RFX: #9286: use native JSON-methods instead of 3rd party json script

Oliver Hader oliver at typo3.org
Mon Nov 3 15:38:29 CET 2008


Hi everybody,

Steffen Kamper schrieb:
> Hi,
> 
> sry, forgot to rename a var, attached is the corrected patch
> 
> vg Steffen

Sorry for answering late on this issue...

Automatically conversion to UTF-8 does not make sense here. Until now
the array2json function was just a wrapper for Services_JSON and shall
also be in future for json_encode. The PHP function also does not
convert to UTF-8 automatically... It's up to the developer then...

+1 on using json_encode() instead of the third party lib
-1 on unexpected magic

See attached patch...

olly
-- 
Oliver Hader
TYPO3 4.3 Release Manager
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009286_v5.patch
Type: text/x-diff
Size: 1553 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20081103/0520e1e3/attachment.patch 


More information about the TYPO3-team-core mailing list