Skip to content

Commit cceeb96

Browse files
committed
Update CSVinterface.cls
1 parent 9cd0ef4 commit cceeb96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/CSVinterface.cls

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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
799799
ErrHandler_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

0 commit comments

Comments
 (0)