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 commentedComment #2
yhahn commentedV2 of patch, keeps changes contained to Fetcher classes by using
sanitizeRaw()andsanitizeFile()methods.Comment #3
alex_b commentedRock!
Comment #4
yhahn commentedhttp://drupal.org/cvs?commit=441930