D
Drew Berkemeyer
Hello,
I'm using the following code to read a text file in VB.NET.
Dim sr As StreamReader = File.OpenText(strFilePath)
Dim input As String = sr.ReadLine()
While Not input Is Nothing
strReturn += input + vbCrLf
input = sr.Read
End While
sr.Close()
For most cases this works fine. However, we have found that the opening
(0x93 - ") and closing (0x94 - ") quotation marks are being dropped without
warning or error.
Eg.
Original Text: This is some "quoted" text.
Text read in: This is some quoted text.
Does anyone have any clues as to what is going on here? Any advice is
appreciated.
Sincerely,
Drew Berkemeyer
I'm using the following code to read a text file in VB.NET.
Dim sr As StreamReader = File.OpenText(strFilePath)
Dim input As String = sr.ReadLine()
While Not input Is Nothing
strReturn += input + vbCrLf
input = sr.Read
End While
sr.Close()
For most cases this works fine. However, we have found that the opening
(0x93 - ") and closing (0x94 - ") quotation marks are being dropped without
warning or error.
Eg.
Original Text: This is some "quoted" text.
Text read in: This is some quoted text.
Does anyone have any clues as to what is going on here? Any advice is
appreciated.
Sincerely,
Drew Berkemeyer