Issue Bug Closed

#14855Flexforms with non-UTF8-encoded values can't be saved with PHP5.

René Wagner 07/10/05, 23:19 updated 08/12/06, 14:20

Description

Flexforms with non-UTF8-encoded values can’t be saved with PHP5. The old value remains.

The Problem can be fixed in typo3/t3lib/class.t3lib_tcemain.php line 1741:
$arrValue = t3lib_div::xml2array($xmlValue); change to:
$arrValue = t3lib_div::xml2array(’<?xml version="1.0" encoding="'.$storeInCharset.'" standalone="yes" ?>‘.chr(10).$xmlValue);

To avoid redundancy this must be hamonized with line 1772.
(issue imported from #M1273)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.