all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Winston <wbe@UBEBLOCK.psr.com.invalid>
To: help-gnu-emacs@gnu.org
Subject: How does one disable (UTF-8?) input "fixup"?
Date: Mon, 11 Jan 2016 05:16:13 -0500	[thread overview]
Message-ID: <ydio30l8uq.fsf@UBEblock.psr.com> (raw)

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


             reply	other threads:[~2016-01-11 10:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-11 10:16 Winston [this message]
2016-01-11 15:49 ` How does one disable (UTF-8?) input "fixup"? Eli Zaretskii
     [not found] ` <mailman.2153.1452527358.843.help-gnu-emacs@gnu.org>
2016-01-12  7:51   ` Winston

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ydio30l8uq.fsf@UBEblock.psr.com \
    --to=wbe@ubeblock.psr.com.invalid \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.