unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Alexandre Oberlin" <please@nospam.com>
To: help-gnu-emacs@gnu.org
Subject: Single unrecognized character wrecks entire display
Date: Sat, 18 Aug 2012 18:35:06 +0200	[thread overview]
Message-ID: <op.wi8wcskadp0apa@eucalyptus> (raw)

Hi all,

I have a file created by a translation software. The file initially
displayed well in emacs and after some edit in the translation software it
didn’t anymore and reverted to raw text. I got this message when I tried
to save in utf-8:
    utf-8-mac cannot encode these: \351 \350 \351 \342 \351 \234 \350 \350
\311 \240

In short all the non ASCI had become unrecognized. However once I removed
a \234 character,that should display as œ, I could save it and recover a
correct display in emacs.

Is there a way to quickly spot the offending character within emacs in
such cases ?

Alexandre


             reply	other threads:[~2012-08-18 16:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-18 16:35 Alexandre Oberlin [this message]
2012-08-18 22:33 ` Single unrecognized character wrecks entire display Peter Dyballa
     [not found] ` <mailman.7220.1345329241.855.help-gnu-emacs@gnu.org>
2012-08-22  9:36   ` Alexandre Oberlin
2012-08-22 15:18     ` Peter Dyballa
     [not found]     ` <mailman.7419.1345648764.855.help-gnu-emacs@gnu.org>
2012-08-24 13:46       ` Alexandre Oberlin
2012-08-24 14:54         ` Alexandre Oberlin
2012-08-24 15:08           ` Peter Dyballa
2012-08-24 15:01         ` Peter Dyballa
2012-08-22 15:01 ` Stefan Monnier
2012-08-24 13:13   ` Alexandre Oberlin
2012-08-25  3:07     ` Stefan Monnier

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=op.wi8wcskadp0apa@eucalyptus \
    --to=please@nospam.com \
    --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).