Determine file type (binary or text)
Peter Hansen
peter at engcorp.com
Wed Aug 13 17:53:26 EDT 2003
Grant Edwards wrote:
>
> In article <3F3A8275.8B6EE8C4 at engcorp.com>, Peter Hansen wrote:
>
> > "Contains only printable characters" is probably a more useful definition
> > of text in many cases.
>
> The definition of "printable" is dependent on the character
> set, that will have to be specified.
That's why I said "printable (in ASCII)" in another message, so I
definitely agree. The problem was rather under-specified. :-)
More information about the Python-list
mailing list