File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -793,7 +793,7 @@ Public Function GetDataFromCSV(csvPathAndFilename As String) As String
793793 On Error GoTo ErrHandler_GetDataFromCSV
794794 FileHandled = FreeFile
795795 Open csvPathAndFilename For Binary As #FileHandled
796- GetDataFromCSV = SPACE $(LOF(FileHandled))
796+ GetDataFromCSV = Space $(LOF(FileHandled))
797797 Get #FileHandled, , GetDataFromCSV
798798 Close #FileHandled
799799ErrHandler_GetDataFromCSV:
@@ -3573,6 +3573,7 @@ Private Sub StreamParseCSV(configObj As CSVparserConfig, _
35733573 CSVstream.linebreakMatchingBehavior = EndLineMatchingBehavior.OnlyBackwardSense
35743574 CSVstream.unifiedLFOutput = .multiEndOfLineCSV
35753575 CSVstream.utf8EncodedFile = .utf8EncodedFile
3576+ CSVstream.autoDetectEncoding = .autoDetectEncoding
35763577 CSVstream.OpenStream .path
35773578 commToken = AscW(.commentsToken)
35783579 dynamicType = .dynamicTyping
You can’t perform that action at this time.
0 commit comments