all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ljung <lars@matholka.se>
Cc: 18760@debbugs.gnu.org
Subject: bug#18760: 24.4; Encoding problem in about-emacs
Date: Sat, 18 Oct 2014 15:57:22 +0300	[thread overview]
Message-ID: <83iojhedsd.fsf@gnu.org> (raw)
In-Reply-To: <54425EE2.2020707@matholka.se>

> Date: Sat, 18 Oct 2014 14:36:50 +0200
> From: Lars Ljung <lars@matholka.se>
> 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 <lars@matholka.se>
> >> 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.






  reply	other threads:[~2014-10-18 12:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-18  9:54 bug#18760: 24.4; Encoding problem in about-emacs Lars Ljung
2014-10-18 11:13 ` Eli Zaretskii
2014-10-18 11:24   ` Lars Ljung
2014-10-18 12:24     ` Eli Zaretskii
2014-10-18 12:36       ` Lars Ljung
2014-10-18 12:57         ` Eli Zaretskii [this message]
2014-10-18 13:01           ` Eli Zaretskii
2014-10-18 17:26             ` Glenn Morris
2014-10-18 17:37               ` Eli Zaretskii
2014-10-18 19:19             ` Stefan Monnier
2014-10-23 16:34               ` Eli Zaretskii
2014-10-18 13:02       ` Lars Ljung

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=83iojhedsd.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=18760@debbugs.gnu.org \
    --cc=lars@matholka.se \
    /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.