help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Detecting if a file is binary


From: Nordlöw
Subject: Detecting if a file is binary
Date: Tue, 24 Nov 2009 07:23:34 -0800 (PST)
User-agent: G2/1.0

Is there a way in emacs-lisp code to detect if a file binary, that is
it does *not* contain a correct multi-character coding.
Or can every possible combination of bytes always be correctly decoded
by some character coding?

/Nordlöw


reply via email to

[Prev in Thread] Current Thread [Next in Thread]