unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How does one disable (UTF-8?) input "fixup"?
@ 2016-01-11 10:16 Winston
  2016-01-11 15:49 ` Eli Zaretskii
       [not found] ` <mailman.2153.1452527358.843.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Winston @ 2016-01-11 10:16 UTC (permalink / raw)
  To: help-gnu-emacs

What mode/variable controls text conversion/fixup when reading a file?

I have a mostly ASCII text file that contains a few stray non-ASCII
characters.

When the file is named "foo", doing "emacs foo" and searching shows
that the non-ASCII characters have been changed (from, for example,
\342\200\246 to \u7AB6\uFF66).

However, if I rename the file "foo.exe", do "emacs foo.exe" and search,
I see the original characters (no change).

In both cases, the mode showed (Fundamental).

Curiously, after "emacs foo.exe", I did find-file-other-window to read
in "foo", and the characters were NOT altered.

What controls whether that conversion is done or not?  Is there an easy
way to turn it on/off?  I didn't see anything in the results from
apropos "-mode" that looked relevant.

Thanks in advance,
 -WBE


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

end of thread, other threads:[~2016-01-12  7:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-11 10:16 How does one disable (UTF-8?) input "fixup"? Winston
2016-01-11 15:49 ` Eli Zaretskii
     [not found] ` <mailman.2153.1452527358.843.help-gnu-emacs@gnu.org>
2016-01-12  7:51   ` Winston

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).