unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#45724: 27.1; gnus vs. raw big5 headers vs. the second day
@ 2021-01-08  5:43 積丹尼 Dan Jacobson
  2021-01-10 13:40 ` Lars Ingebrigtsen
  2021-01-19  1:04 ` bug#45724: Happens since 27.1 積丹尼 Dan Jacobson
  0 siblings, 2 replies; 5+ messages in thread
From: 積丹尼 Dan Jacobson @ 2021-01-08  5:43 UTC (permalink / raw)
  To: 45724

[-- Attachment #1: Type: text/plain, Size: 450 bytes --]

Yes the mails we receive have properly mime encoded headers.
But let's say some agency sends an email with ancient illegal raw big5
headers:
$ iconv -f big5 headers.txt
Subject: 內政部部長電子信箱受理通知編號:20210108003         
From: "內政部部長電子信箱" <returnecss@minister.moi.gov.tw>

Well, on the first day, things work fine in gnus.

But on the second day upon reopening gnus, the headers have "degraded":


[-- Attachment #2: ugly --]
[-- Type: image/jpeg, Size: 50946 bytes --]

[-- Attachment #3: Type: text/plain, Size: 896 bytes --]


The *Summary* buffer has now a garbled line. Howver the *Article* buffer
is still doing fine.

Funny thing is, if we pipe the second article through procmail, and
enter gnus again, the newly created identical third article has an OK
*Summary* line.

Important settings:
  value of $LC_COLLATE: C
  value of $LC_CTYPE: zh_TW.UTF-8
  value of $LC_MESSAGES: C
  value of $LANG: zh_TW.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

(One also notes raw big5 enters the .overview file, but not always.)

My dot files are at https://www.jidanni.org/comp/configuration/

Anyway, sure, gnus can deal with such wacky headers fine on the first
day.

But on the second day, after totally quitting emacs and starting up
again, such headers are no longer dealt with properly, at least in the
*Summary* buffer.

Sure, "Tell the agency to stop sending illegal headers." Well, yes...

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

end of thread, other threads:[~2021-01-22 18:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-08  5:43 bug#45724: 27.1; gnus vs. raw big5 headers vs. the second day 積丹尼 Dan Jacobson
2021-01-10 13:40 ` Lars Ingebrigtsen
2021-01-11 14:06   ` 積丹尼 Dan Jacobson
2021-01-22 18:09     ` Lars Ingebrigtsen
2021-01-19  1:04 ` bug#45724: Happens since 27.1 積丹尼 Dan Jacobson

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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