P
Paul [Paradise Solutions]
Hi All
In a console app I have the following code:
Sub Main()
Dim p_CustomerLine As String
Dim stream As IO.StreamReader = IO.File.OpenText("c:\test.txt")
Do
p_CustomerLine = stream.ReadLine()
If Not p_CustomerLine Is Nothing Then
Console.WriteLine(p_CustomerLine)
End If
Loop Until p_CustomerLine Is Nothing
End Sub
... And it works grand, lines get read in and displayed as they
should.... with the exception of the UK curreny symbol (£).
I'd be very grateful if anyone could explain to me why ReadLine strips
them out of anything it reads in.
Many thanks
Paul
In a console app I have the following code:
Sub Main()
Dim p_CustomerLine As String
Dim stream As IO.StreamReader = IO.File.OpenText("c:\test.txt")
Do
p_CustomerLine = stream.ReadLine()
If Not p_CustomerLine Is Nothing Then
Console.WriteLine(p_CustomerLine)
End If
Loop Until p_CustomerLine Is Nothing
End Sub
... And it works grand, lines get read in and displayed as they
should.... with the exception of the UK curreny symbol (£).
I'd be very grateful if anyone could explain to me why ReadLine strips
them out of anything it reads in.
Many thanks
Paul