ANY HELP FROM THE MASTERS GREATLY APPRECIATED
When reading textfiles with VB.net, some special character text is
deleted that does not happen with VB6 (Please see below)
ORIGINAL TEXT FILE
"This is a sentence with a spe·ci·fic word." (Note the dot separators
(Hex B7) in the word 'specific' which are syllable breaks).
VB.NET APPLICATION CODE
Dim sr As System.IO.StreamReader = System.IO.File.OpenText(Orginial
file Name)
Console.Write(sr.ReadToEnd)
sr.Close()
CONSOLE OUTPUT
(Or file output or Access record write which I have tried with same
results)
"This is a sentence with a specific word."
(Note the dot separators (Hex B7) in the word 'specific' are GONE?)
HELP
If I do the same thing in VB6, the dot separators (Hex B7) in the word
'specific' REMAIN (spe·ci·fic). Something in the VB.net readtoend
method is deleting the Hex B7 characters. I have also tried the
VB.Net readline method with same readtoend method results.
I want to keep the dot separators! Any ideas????? I hope not to have
to read the file a byte at a time :<(
Thank you!!!!