We made a filter for those errors:
At plugins/preprocessors/regex/RegexPreprocessorPlugin.inc.php
add this to preprocessEntry() function
- Code: Select all
$fieldsToChange = array('title','description','creator','rights', 'type', 'source', 'subject');
$value = strip_tags($value);
if(in_array($field->getName(), $fieldsToChange)) {
foreach ($_SERVER['argv'] as $arg) switch ($arg) {
case 'encode':
$value = utf8_decode($value);
break;
}
$value = html_entity_decode($value, null, 'UTF-8');
}
when you call the harvest.php, you have to include "enconde" after the command
