Hi,
For some reason when I save translations on a page, only parts of them get saved.
Looking at the error log I get the following:
PHP Warning: json_encode(): Invalid UTF-8 sequence in argument in /public_html/gtranslate/edit_translation.php on line 22
Line 22 gives the following:
file_put_contents($file_name.'.human', json_encode($result));
} else {
$result = new stdClass;
$result->TranslateResult = $_POST['new'];
file_put_contents($file_name.'.human', json_encode($result));
}
I tried fixing html validation errors and even then it doesn't work correctly.
Please help,
Laurent.