Skip to content
Snippets Groups Projects
Commit 1e839387 authored by megachriz's avatar megachriz Committed by MegaChriz
Browse files

Issue #2730207 by MegaChriz: Fixed logging failed items that are not UTF-8-encoded.

parent 6e9f37f5
No related branches found
No related tags found
No related merge requests found
......@@ -1264,7 +1264,7 @@ abstract class FeedsProcessor extends FeedsPlugin {
foreach ($out as $key => $value) {
if (is_string($value)) {
$out[$key] = truncate_utf8($value, 100, FALSE, TRUE);
$out[$key] = truncate_utf8(utf8_encode($value), 100, FALSE, TRUE);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment