No irony at all. Certainly a file is either *assumed* to be text or binary, not both at the same time. But isn’t ‘binary’ (or ‘text’) a matter of perspective/interpretation? I don’t know of any formal definition or international standard of what constitutes ‘binary’ or ‘text’ files. For example, since CR’s are not expected in Linux text files (unlike with Windows), having them in your file makes it binary instead of text?
I could claim that a file containing all 256 ASCII codes is a text file for my use. On the contrary I could also claim that a file containing the string ‘Hello’ is binary because of how it is treated by my app. Maybe it’s an accidental display of a certain integer pattern. At any rate, the distinction seems less important these days when most ‘text’ editors can load and let you edit practically any file, regardless of content. In the old days, text editors would usually choke if there were given binary files. To clarify, by ‘mostly’ I meant that even though looking at a file with a text editor you can easily determine the file is text, there may be a couple of characters inside it that do not conform to what most (?) people would expect in a text file. However, is that enough to claim the file is not text when ‘obviously’ it is (i.e., you can read it in a text editor and just skip over the couple of few funny looking special characters)? From: Stephan Beal Sent: Sunday, December 07, 2014 8:35 PM To: Fossil SCM user's discussion Subject: Re: [fossil-users] How to force text for all files? On Sun, Dec 7, 2014 at 6:55 PM, <to...@acm.org> wrote: The problem: A (mostly) text file with just a few normally non-text chars which confuse fossil into thinking the whole file is binary. There's an irony in there somewhere. It can't be partly binary, it is either entirely binary or not binary. i.e. 0 or 1. There is no middle ground (in the world of integers). -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf -------------------------------------------------------------------------------- _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users