From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.help Subject: Re: emacs 30.5.0 editing epub Date: Thu, 16 Mar 2023 10:22:13 +0100 Message-ID: <87pm99830a.fsf@gmx.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38641"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: gnu emacs To: H.-J. =?utf-8?Q?Heitl=C3=A4nder?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 16 10:23:08 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pcjpD-0009qY-PE for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 16 Mar 2023 10:23:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pcjoV-0002j5-VH; Thu, 16 Mar 2023 05:22:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pcjoU-0002iw-5j for help-gnu-emacs@gnu.org; Thu, 16 Mar 2023 05:22:22 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pcjoS-00030A-E2 for help-gnu-emacs@gnu.org; Thu, 16 Mar 2023 05:22:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1678958534; i=stephen.berman@gmx.net; bh=l0btlzTnoUKiGFr3edI0BXSAb/G6orazf/wG0d6tK8Q=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=dD7IC+u7R8bufrifJbqho6Dv9V/I824oHDHYTjBQyraTDhPoPstebh6YOUzwPdBhx XLt55adMg8vi8JtIOci7Zlvmh51OK2hnk8XXr1PtHBdOlacNhz/X2Q6xgqi2+8MTiT uJt0/wngjCCDXsvLTpIiQmx6bZ5WqmkrPAVSPnrV7hy8vq6cwHmVFMV0DkpulvFqyp xlwMUPEvph/U0/kL6m8mQ02NSyZVpGbTH9QOJHwDN9p7kHSQlP2BHdRy7bQgrN5sWI c/fghnj0wHYXpb0xSZubyqOqq1UcUxHvRPZBfHh+4YU7EgO64Nrom9zI6BK8rEApoY wSIAj+ZgZIUVg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from strobelfssd ([94.134.196.195]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MlNtF-1qOBzP16An-00lmf8; Thu, 16 Mar 2023 10:22:14 +0100 In-Reply-To: ("H.-J. =?utf-8?Q?Heitl=C3=A4nder=22's?= message of "Wed, 15 Mar 2023 18:35:55 +0000") X-Provags-ID: V03:K1:M+bOuRoz61d+aPrPAiPH+6iYY5cQ6hYhbFrHt80121nZ9PI0MBc JsU4oSVsF1ByqqjFX4J8nu7WUGslTrH2IzCyqoAII9zAM0YjzRdXX624pkAzZ+LvNL9TgPt imEeN4LBlNmEhHZWYoGijbJnM1xNyHk1j+aWlGaMZqoTCZe25O/EaE83/TweYAWuemFr47z Fz1MUdTVn5IQg5Q1nfD0w== UI-OutboundReport: notjunk:1;M01:P0:Gosfxkm0MDo=;Ol3tjM1lzGX6d/d6Nz1dkwtOFvs 3pBR60b/hJlRxhofM/UhsLE8WRnrWiBvhs49IwXcoTCBOAcjm0ZsQ8PdYfpBMcYlqNQEJQ4jA 7xyJiBUWTIQLPJMSaIU3tv2HC2KPRf0vM2A8lzJ0ik6wl4qySvwGb9Tc1smEPV+NPcbssU0ol fHKls7yqFXnLY5SLS2cWOrtbiwgoDbfHk1o5CSrP0iKlshkCGj0HfCvHtI2opjOsin81SldQi CRCdH48ls2WvIXrrfYsJX1tSnkioyaLpXsBCsy54nLVLj1sDFOgjV1aWVCf/8LwUfhTw4Ph6+ gtSkqS2X6rj/3Uw4fcXfZek0RBBHtPR75SI1OFkT+WwFZif1WBJ9mycx5jk1Wu5T9eWJXzjLh 9y/P85Q+wOrmNY9Pwm4eSnDFzlIR0TCl4UdIbTXFgXcYMtDVnTNQck6RVHgMDNtgEdhUbmgzY pI7uVySjM8OrJieuKK4urqRYJtv4XeM3C8PB8opyQYYhLhbUCVaJZpqCleYieCyOC0LyFW0Pl 9IDwRjuSbLOfbbcU37aLltieTgJLXbZtsuZ6IIvnAhPtWLKj0yaVuVCL9bAEcaScwXPXvWq5o L4DJ0ojapYQnW3CAk2MAKgtOqoTtDXBCbIZWTmU/C3BHtndR7dFef9xqFdVEtfTSE/cX1WIX9 ztF/vXmmrUDBw0VEpwF6NTa+f8kxd3Gy67yWl9KoUMNtntMgaBQBRpSnT31z1RYi95CLrFmCm qjMAZKkOjWxdK2FIJRmwLgyLk4OftAjO2XSxOdJcGc1zH9D5hctb+v+8u0dDNeqRw6hjavWe Received-SPF: pass client-ip=212.227.17.22; envelope-from=stephen.berman@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143039 Archived-At: On Wed, 15 Mar 2023 18:35:55 +0000 H.-J. Heitl=C3=A4nder wrote: > Hi there, > > trying to get my feet wet with emacs and lisp. ... well it seems I am > drowning... > > The problem: > > I am editing epub archives and=C2=A0 any saves that I am doing result in > > > > ***backtrace*** [...] > For the moment I can live with that as in reality the epub is being saved. > > My problem is that from that moment on the display of the epub subfile > (.html) loses the utf-8 display. (oh, and every other file is being > displayed in the same - wrong - way.) > > The content is shown as (example) > > > > \342\200\234Nicely done. Now let\342\200\231s get that equipment on > board.\342\200\234

> >
> > It should have been shown as > > > > "Nicely done. Now let's get that equipment on board."

> >
> > I searched the internet without any result. Don't know which part of > documentation to read. > > Question: How do I switch the display back to show the contents in the > expected way??? It looks like the buffer is being displayed in the raw-text coding system (is the first character in the mode line "t"?). \342\200\234 is the raw-byte sequence of the unicode character LEFT DOUBLE QUOTATION MARK (#x201c) and \342\200\231 of RIGHT SINGLE QUOTATION MARK (#x2019). Does typing `C-x RET r' and at the prompt entering `utf-8' and at the next prompt `yes' fix the display? Steve Berman