Re: CR/LF question


Subject: Re: CR/LF question
From: Peter DiCamillo (Peter_DiCamillo@brown.edu)
Date: Wed Sep 20 2000 - 01:00:41 EDT


Clemens Anhuth wrote:
>Does it not make more sense to use text tools that can cope with the
>different text file formatting instead of having the file server
>make an educated guess on wether to do it or not?
I'm not proposing any solution that involves guessing. The problem
we're encountering is that the Finder and some other programs, such
as StuffIt, create a file with some other type, write data to the
file, then change the type to TEXT when done. That results in the
data not being translated when written, but then being translated
when read (since the type has become TEXT). The solution I'm
proposing is to never translate such files. The code would keep
track of whether the original type of the file at it's creation was
TEXT, and subsequently use that information instead of the current
type when deciding whether or not to translate.

Peter



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:32:11 EST