From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#18760: 24.4; Encoding problem in about-emacs Date: Sat, 18 Oct 2014 15:57:22 +0300 Message-ID: <83iojhedsd.fsf@gnu.org> References: <544238DC.1000905@matholka.se> <83mw8teil6.fsf@gnu.org> <54424E06.3010304@matholka.se> <83lhodefag.fsf@gnu.org> <54425EE2.2020707@matholka.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1413637107 28740 80.91.229.3 (18 Oct 2014 12:58:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Oct 2014 12:58:27 +0000 (UTC) Cc: 18760@debbugs.gnu.org To: Lars Ljung Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 18 14:58:19 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XfTaK-000333-OJ for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Oct 2014 14:58:16 +0200 Original-Received: from localhost ([::1]:36610 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfTaK-0005ls-Fk for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Oct 2014 08:58:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfTaB-0005lj-UR for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 08:58:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XfTa6-00022L-RV for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 08:58:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfTa6-00022G-OG for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 08:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XfTa5-0004Aw-Vf for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 08:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Oct 2014 12:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18760 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18760-submit@debbugs.gnu.org id=B18760.141363706516018 (code B ref 18760); Sat, 18 Oct 2014 12:58:01 +0000 Original-Received: (at 18760) by debbugs.gnu.org; 18 Oct 2014 12:57:45 +0000 Original-Received: from localhost ([127.0.0.1]:48007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XfTZo-0004AH-2M for submit@debbugs.gnu.org; Sat, 18 Oct 2014 08:57:44 -0400 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:51717) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XfTZi-0004A4-JD for 18760@debbugs.gnu.org; Sat, 18 Oct 2014 08:57:39 -0400 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NDN004004O37900@mtaout25.012.net.il> for 18760@debbugs.gnu.org; Sat, 18 Oct 2014 15:52:55 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NDN0019L5461X40@mtaout25.012.net.il>; Sat, 18 Oct 2014 15:52:55 +0300 (IDT) In-reply-to: <54425EE2.2020707@matholka.se> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:94726 > Date: Sat, 18 Oct 2014 14:36:50 +0200 > From: Lars Ljung > CC: 18760@debbugs.gnu.org > > Den 2014-10-18 14:24, Eli Zaretskii skrev: > >> Date: Sat, 18 Oct 2014 13:24:54 +0200 > >> From: Lars Ljung > >> CC: 18760@debbugs.gnu.org > >> > >> I looked at it a bit and my guess is that the encoding is not > >> properly detected when extracting the title using (with-temp-buffer > >> (insert-file-contents ... when defining fancy-startup-text. > > > > But how can this happen, when the tutorial states that it's encoded in > > UTF-8? > > > > I just typed that form manually in a locale that also defaults to > > Latin-1, and I see no problem at all. > > > > Perhaps since the encoding is specified at the end of the file but only > the first 256 bytes are read when extracting the title? Where do you see that we only read the first 256 bytes? Oh, you mean fancy-about-text? I thought you were talking about fancy-startup-text, where we read the entire file. Yes, you are right, that's the bug. Thanks.