Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
#953538 yhahn: Remove BOM from UTF-8 files. Adds sanitizeFile() and sanitizeRaw() methods to FeedsFetcherResult. Extending classes that override either the getRaw() or getFilePath() methods should call these sanitization methods to ensure that the returned output / file has been cleaned for parsing.