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
Question
Hi all. Not sure if this is pilot error or if its a bug but it appears that the last column in our CSV consistently decodes to blank. We've got a correct header line and I'm using a .firstLine strategy. Have also confirmed that my data model has the same number of columns as vars. The only solution to fix this appears to be using a dummy column at the end.
System
OS: macOS 12.3.1, Xcode 12.3
CodableCSV 0.6.7
The text was updated successfully, but these errors were encountered:
Ran into something similar - for me, I was able to fix it by doing a .replacingOccurrences(of: "\r\n", with: "\n") on the input string before passing it to the decoder. (Potentially could also be resolved by switching the delimiter.row to \r\n instead of the. default, but I wanted to support either type of input.)
Question
Hi all. Not sure if this is pilot error or if its a bug but it appears that the last column in our CSV consistently decodes to blank. We've got a correct header line and I'm using a .firstLine strategy. Have also confirmed that my data model has the same number of columns as vars. The only solution to fix this appears to be using a dummy column at the end.
System
OS: macOS 12.3.1, Xcode 12.3
CodableCSV 0.6.7
The text was updated successfully, but these errors were encountered: