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: recoding a buffer coding system
Date: Sat, 15 Aug 2009 09:36:32 +0300	[thread overview]
Message-ID: <833a7tk2hb.fsf@gnu.org> (raw)
In-Reply-To: <87zla29j5p.fsf@uchicago.edu>

> From: Santiago Mejia <mejia@uchicago.edu>
> Date: Fri, 14 Aug 2009 16:31:46 -0500
> 
> 
> I have managed to successfully reformat the raw html tags into
> enriched-mode tags.  However, when I try to display the buffer in
> enriched-mode (by using (format-decode-buffer 'text/enriched)), some of
> the non-ASCII characters get screwed up (German umlauts, to be precise).  

Get screwed how, exactly?

> I have managed to solve the issue through a nasty trick: saving the
> file, killing the buffer, and reopening the file.  But this is a trick
> that I would like to avoid.  

You didn't say how reopening the file helps you avoid the problem.
Knowing that might suggest a way for how to avoid the trick.

Also, can you post a minimal file and some minimal code to reproduce
the problem?  There could be a bug somewhere.

Finally, what version of Emacs is that?




  reply	other threads:[~2009-08-15  6:36 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-14 21:31 recoding a buffer coding system Santiago Mejia
2009-08-15  6:36 ` Eli Zaretskii [this message]
2009-08-15 14:31   ` Santiago Mejia
2009-08-15 15:15     ` Peter Dyballa
2009-08-16  2:29       ` Santiago Mejia
2009-08-16  2:55         ` Peter Dyballa
2009-08-16  3:17           ` Eli Zaretskii
2009-08-16 13:49             ` Santiago Mejia
2009-08-16 17:06               ` Eli Zaretskii
2009-08-16 21:09             ` Peter Dyballa
2009-08-15 15:24     ` Eli Zaretskii
2009-08-16  2:33       ` Santiago Mejia
2009-08-15  8: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=833a7tk2hb.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).