unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* recoding a buffer coding system
@ 2009-08-14 21:31 Santiago Mejia
  2009-08-15  6:36 ` Eli Zaretskii
  2009-08-15  8:26 ` Peter Dyballa
  0 siblings, 2 replies; 13+ messages in thread
From: Santiago Mejia @ 2009-08-14 21:31 UTC (permalink / raw)
  To: help-gnu-emacs


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.







^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-08-16 21:09 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-14 21:31 recoding a buffer coding system Santiago Mejia
2009-08-15  6:36 ` 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

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).