lib/peddler/flat_file_parser.rb in peddler-1.1.0 vs lib/peddler/flat_file_parser.rb in peddler-1.1.1

- old
+ new

@@ -37,10 +37,12 @@ @content = body.dup end end def scrub_content - content.force_encoding(encoding).encode('UTF-8') + content + .force_encoding(encoding) + .encode('UTF-8', undef: :replace, replace: '?') end def summary? body.start_with?('Feed Processing Summary') end