B
Bill Cohagan
I've got a c# WinForms app that reads an input text file using a
StreamReader, using the ReadLine() method. The input files are Unix type
text files; i.e., they have a single x0D character to mark end-of-line. This
app runs fine on my Windows XP Pro development system, but fails on the
target Win98 system. Actually I can demonstrate the problem just using
Notepad so I'm guessing the .Net Framework 1.1 is not the issue.
Using Notepad on my XP system I can open these text files and they look
right; i.e., the lines terminate in the expected places. Using Notepad on
the Win98 system however produces a view with "little black boxes" where the
lines should end.
So, it appears that XP itself is a little more Unix friendly. Is there any
support in the Framework for handling this gracefully? I'll need to be able
to handle Windows/DOS produced text files as well so I can't *depend* on the
files coming from Unix.
Thanks in advance,
Bill
StreamReader, using the ReadLine() method. The input files are Unix type
text files; i.e., they have a single x0D character to mark end-of-line. This
app runs fine on my Windows XP Pro development system, but fails on the
target Win98 system. Actually I can demonstrate the problem just using
Notepad so I'm guessing the .Net Framework 1.1 is not the issue.
Using Notepad on my XP system I can open these text files and they look
right; i.e., the lines terminate in the expected places. Using Notepad on
the Win98 system however produces a view with "little black boxes" where the
lines should end.
So, it appears that XP itself is a little more Unix friendly. Is there any
support in the Framework for handling this gracefully? I'll need to be able
to handle Windows/DOS produced text files as well so I can't *depend* on the
files coming from Unix.
Thanks in advance,
Bill