Xavier Noria
8/24/2006 7:53:00 AM
On Aug 24, 2006, at 6:21 AM, Hal Fulton wrote:
> Peña wrote:
>
>> ah, maybe i should state my problem better, how about "i'd like to
>> know if a file is a pure text file". how should i do that in ruby?
>
> That depends on what you mean by a pure text file. :)
>
> Are you assuming Unicode, ASCII, or what?
What is the heuristic used by Subversion for instance?
-- fxn