Open jetzerb opened 3 years ago
Thank you for reporting the issue. I know it doesn't work with UTF-8 BOM, but I don't want to support it if possible. It may be dealt with in the future, but I would like you to deal with it in other ways if possible.
If a data file includes Byte Order Markers (in my case, UTF-8 BOM
ef bb bf
), those bytes should be ignored bytrdsql
, but instead are currently treated as part of the data file:trdsql
currently thinks the "Service Type" column name is prefixed with the 3 byte BOM:I don't know if other encodings also have byte order markers, but I see that Go's standard library will apparently never handle BOMs so each application must deal with them individually 😞