-
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
Description
Hi there, again thanks for making this since it saves tons of time.
Could you point me in the code or explain how does the importer determine what type of encoding the file is in when importing. I need to somehow extract this information and not sure how to do that. Maybe you can give me a hint where to look. not a bug more like request for information. And is there actually an automatic encoding determination or am i misinterpreting things?
```
guard let csv = CSVImporter<[String: String]>(url: fileURL) else {
return
}
csv.startImportingRecords(structure: { (headerValues) -> Void in
print(headerValues)
}) {$0}.onFinish {importedRecord in
print(importedRecord)
}