You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ignore UTF-8 BOM sequences in various scenarios (#69)
- Adapt the .open() helper to use encoding=utf-8-sig (for reading only)
- Adapt the Reader() to ignore a (single) UTF-8 BOM sequences at the
start of a line; this handles concatenated files, non-file input, etc.
- Add exhaustive tests
Note that this deliberately does not strip multiple concatenated BOM
sequences since that's indicative of malformed input.
Fixes#68.
0 commit comments