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
{{ message }}
Repository navigation
UTF-8 with BOM encoding broken: syntax error at or near "" #1007
My plan is to create an internal utfbom package that has one function, DiscardBOM. It will take a byte slice and return a byte slice, which should work for all the cases we read in SQL files.
Activity
Update parse.go
kyleconroy commentedon Sep 12, 2021
My plan is to create an internal
utfbompackage that has one function, DiscardBOM. It will take a byte slice and return a byte slice, which should work for all the cases we read in SQL files.bodison commentedon Sep 13, 2021
yeah would be fine as well. or a package that wraps the file reader?
As I mentioned in the closed PR, the test coverage of these four files would be a separate issue.