Author vstinner
Recipients Windson Yang, lemburg, serhiy.storchaka, vstinner
Date 2018-12-14.12:20:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1544790039.44.0.788709270274.issue35348@psf.upfronthosting.co.za>
In-reply-to
Content
> I agreed with Serhiy. I also found the function decode the output with latin-1, I think it will be better to use utf-8 instead.

Decoding from UTF-8 can fail with UnicodeDecodeError, whereas decoding from latin-1 never fails.

file output is ASCII, so I don't see the point of using UTF-8.

Currently, the command displays the filename, but I don't think that we should care of the encoding of the filename.

> I think that the "-b" option should be restored.

That, or strip/skip the filename in the output?
History
Date User Action Args
2018-12-14 12:20:39vstinnersetrecipients: + vstinner, lemburg, serhiy.storchaka, Windson Yang
2018-12-14 12:20:39vstinnersetmessageid: <1544790039.44.0.788709270274.issue35348@psf.upfronthosting.co.za>
2018-12-14 12:20:39vstinnerlinkissue35348 messages
2018-12-14 12:20:39vstinnercreate