Re: checking if file is dos textfile or unix textfile ? [message #38619] |
Fri, 19 March 2004 11:14  |
Norbert Hahn
Messages: 46 Registered: May 2003
|
Member |
|
|
Michael Wallace <mwallace.removethismunge@swri.edu.invalid> wrote:
> Is there some specific file-reading issue you're having? As far as I
> know, there is no difference between reading DOS-formatted and
> UNIX-formatted files no matter what OS you're using. As a test, I just
> read in a DOS-formatted text file on my Linux box without any problems.
As long as you restrict yourself to the 96 printable ASCII characters
there are no differences except for the new line characters. However,
characterset extensions i.e. for national characters differ between
DOS and Windows.
Norbert
|
|
|
|
|
|
|