From: Santiago Mejia <mejia@uchicago.edu>
To: help-gnu-emacs@gnu.org
Subject: recoding a buffer coding system
Date: Fri, 14 Aug 2009 16:31:46 -0500 [thread overview]
Message-ID: <87zla29j5p.fsf@uchicago.edu> (raw)
I am trying to make a script that downloads a webpage and reformats it
into enriched-mode.
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).
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.
Any ideas as to how to do it?
Santiago.
next reply other threads:[~2009-08-14 21:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-14 21:31 Santiago Mejia [this message]
2009-08-15 6:36 ` recoding a buffer coding system Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zla29j5p.fsf@uchicago.edu \
--to=mejia@uchicago.edu \
--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.