unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Help-gnu-emacs@gnu.org
Subject: Re: Emacs text bug
Date: Thu, 31 Jan 2013 20:52:56 +0200	[thread overview]
Message-ID: <83mwvpchh3.fsf@gnu.org> (raw)
In-Reply-To: <1359654952628-276925.post@n5.nabble.com>

> Date: Thu, 31 Jan 2013 09:55:52 -0800 (PST)
> From: drain <aeuster@gmail.com>
> 
> Still problems.
> 
> (1) revert-buffer-with-coding system RET
> (2) utf-8 RET
> (3) "Revert buffer from file[...]" y RET
> (4) [characters appear as they should now]
> (5) [make change so I can save]
> (6) save-buffer
> (7) "Select coding system (default raw-text)" utf-8
> (8) "wrote buffer [...]"
> (9) kill-buffer RET foo.org RET
> (10) find-file foo.org RET, sees it's back to raw-text, not utf-8, with
>      characters mangled.

Evidently, you have in that file bytes that are not valid UTF-8
sequences.  You need to fix them (the "Select coding system ..."
prompt tells you which characters cannot be encoded in UTF-8 -- those
are the ones you need to fix.).



  parent reply	other threads:[~2013-01-31 18:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-26 20:23 Emacs text bug drain
2013-01-26 22:26 ` Peter Dyballa
2013-01-26 22:43   ` drain
2013-01-26 22:59     ` Peter Dyballa
2013-01-26 23:23       ` drain
2013-01-26 23:29         ` Peter Dyballa
2013-01-31 17:55           ` drain
2013-01-31 18:36             ` Doug Lewan
2013-01-31 18:45               ` drain
2013-01-31 19:08                 ` Eli Zaretskii
2013-01-31 18:52             ` Eli Zaretskii [this message]
2013-01-31 19:28               ` drain
2013-01-31 20:04                 ` Eli Zaretskii
2013-01-26 22:48   ` Drew Adams
2013-01-26 23:26     ` Peter Dyballa

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=83mwvpchh3.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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.
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).