OpenBSD 5.4 GENERIC#37 file(1) reports the MIME encoding of a text file as "binary", when it should be "us-ascii" or equivalent. It only does this with the --mime-encoding option; it correctly reports the encoding with the --mime option.
$ file --version file-4.24 magic file from /etc/magic $ od -a DATE 0000000 2 2 sp A p r i l sp 2 0 1 2 nl 0000016 $ file --brief --mime DATE text/plain charset=us-ascii $ file --brief --mime-type DATE text/plain $ file --brief --mime-encoding DATE binary Thanks, David