#75403json_encode-Problem
Description
I updated from 6.2.14 to 6.2.19 and the error still appears
Core: Error handler (BE): PHP Warning: json_encode(): Invalid UTF-8 sequence in argument in /…/typo3_src/typo3_src-6.2.14/typo3/sysext/core/Classes/Log/Writer/FileWriter.php line 125
and I can still fix it with:
array_walk_recursive($recordData, function(&$item, $key){
if(!mb_detect_encoding($item, 'utf-8', true)){
$item = utf8_encode($item);
}
});
No, I don’t know where the non UTF8 chars come from – how can I check that?
This error is related to https://forge.typo3.org/issues/68582
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.