unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Stefan Monnier" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu>
Subject: Re: Encodings in Emacs.
Date: 19 May 2003 09:56:15 -0400	[thread overview]
Message-ID: <5l4r3roxa8.fsf@rum.cs.yale.edu> (raw)
In-Reply-To: ur86v8dis.fsf@ID-87814.user.dfncis.de

> So the only way to get what you want is to tell Emacs which coding
> system it should use to read that file *before* Emacs visits it. You
> can do this with `C-x RET c'. For example:
> `C-x RET c shift_jis RET C-x f your-file.txt RET'
                              ^^^
                              C-f   of course

> But cautiion: I am not familiar with the encodings you mentioned, but
> I think when you have a file with several encodings you will break
> the parts with the "other" encodings, when you save that file.

There were indeed such bug in Emacs-20 and I'm sure there are still
some in Emacs-21, but note that it shouldn't happen and if you get
such lossage, you should report it as a bug with M-x report-emacs-bug.


        Stefan

      parent reply	other threads:[~2003-05-19 13:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-19  9:27 Encodings in Emacs Nacho
2003-05-19  9:57 ` Oliver Scholz
2003-05-19 13:23   ` Nacho
2003-05-19 14:17     ` Stefan Monnier
2003-05-19 18:26       ` Eli Zaretskii
2003-05-20  8:59       ` Nacho
2003-05-19 13:56   ` Stefan Monnier [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=5l4r3roxa8.fsf@rum.cs.yale.edu \
    --to=monnier+gnu.emacs.help/news/@flint.cs.yale.edu \
    /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.
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).