unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Detecting if a file is binary
@ 2009-11-24 15:23 Nordlöw
  2009-11-24 17:42 ` tomas
  0 siblings, 1 reply; 2+ messages in thread
From: Nordlöw @ 2009-11-24 15:23 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-24 17:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-24 15:23 Detecting if a file is binary Nordlöw
2009-11-24 17:42 ` tomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).