Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
As we discovered recently UTF-8 files containing the BOM do not have the character stripped by PHP when read from the filesystem or included in code. This affects certain import files used by Feeds, in particular the column names of csv files can become mangled.
Patch forthcoming which removes the BOM character as part of the Fetcher step.
Comment | File | Size | Author |
---|---|---|---|
#2 | 953538.2.patch | 3.76 KB | yhahn |
#1 | 953538.1.patch | 3.6 KB | yhahn |
Comments
Comment #1
yhahn CreditAttribution: yhahn commentedComment #2
yhahn CreditAttribution: yhahn commentedV2 of patch, keeps changes contained to Fetcher classes by using
sanitizeRaw()
andsanitizeFile()
methods.Comment #3
alex_b CreditAttribution: alex_b commentedRock!
Comment #4
yhahn CreditAttribution: yhahn commentedhttp://drupal.org/cvs?commit=441930