From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: recoding a buffer coding system Date: Sat, 15 Aug 2009 09:36:32 +0300 Message-ID: <833a7tk2hb.fsf@gnu.org> References: <87zla29j5p.fsf@uchicago.edu> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1250318222 20985 80.91.229.12 (15 Aug 2009 06:37:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Aug 2009 06:37:02 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 15 08:36:55 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1McCso-0003gn-B3 for geh-help-gnu-emacs@m.gmane.org; Sat, 15 Aug 2009 08:36:54 +0200 Original-Received: from localhost ([127.0.0.1]:59347 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McCsn-0008UH-Mr for geh-help-gnu-emacs@m.gmane.org; Sat, 15 Aug 2009 02:36:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1McCsS-0008UC-KN for help-gnu-emacs@gnu.org; Sat, 15 Aug 2009 02:36:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1McCsP-0008Ts-UO for help-gnu-emacs@gnu.org; Sat, 15 Aug 2009 02:36:31 -0400 Original-Received: from [199.232.76.173] (port=57015 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McCsP-0008Tp-R0 for help-gnu-emacs@gnu.org; Sat, 15 Aug 2009 02:36:29 -0400 Original-Received: from mtaout2.012.net.il ([84.95.2.4]:29936) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1McCsP-0003uK-8m for help-gnu-emacs@gnu.org; Sat, 15 Aug 2009 02:36:29 -0400 Original-Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KOE00300NFWDQ00@i_mtaout2.012.net.il> for help-gnu-emacs@gnu.org; Sat, 15 Aug 2009 09:36:26 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.232.38]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KOE002FSNOQ8Y90@i_mtaout2.012.net.il> for help-gnu-emacs@gnu.org; Sat, 15 Aug 2009 09:36:26 +0300 (IDT) In-reply-to: <87zla29j5p.fsf@uchicago.edu> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67159 Archived-At: > From: Santiago Mejia > 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?