J
Jack Russell
I have the following code in VB.net 2003
Dim s As String
Dim sr As StreamReader = New StreamReader("test.txt", New
UTF7Encoding)
s = sr.ReadLine
Debug.Write(s)
If the string read is 1+.03 it converts it to 1.3
If I remove the UTF7encoding option it does not.
Why should the encoding cause a text string to do arithmetic work? and
can I prevent it.
Thanks
Jack Russell
Dim s As String
Dim sr As StreamReader = New StreamReader("test.txt", New
UTF7Encoding)
s = sr.ReadLine
Debug.Write(s)
If the string read is 1+.03 it converts it to 1.3
If I remove the UTF7encoding option it does not.
Why should the encoding cause a text string to do arithmetic work? and
can I prevent it.
Thanks
Jack Russell