all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* RMAIL doesn't always recognize rmail-mime-charset-pattern
@ 2002-05-18 13:18 David Kuehling
  2002-05-18 16:26 ` Eli Zaretskii
  0 siblings, 1 reply; 14+ messages in thread
From: David Kuehling @ 2002-05-18 13:18 UTC (permalink / raw)


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

RMAIL didn't decode a mail, which contained a 

Content-Type: text/plain; charset=euc-jp

header.  Instead it decoded it as iso-latin-1-unix.  I wanted to
reproduce the bug, so I saved the mail into INBOX format.  But when I
opened the inbox format mail, the coding system was detected correctly.

I don't understand how this can happen.  When receiving and opening
mails, the decoding is done by the same routine,
rmail-convert-to-babyl-format.

This is difficult to debug and rmail.el is extremly ugly.  If just
someone with more knowledge of rmail could have a look at it...

I attach the INBOX format mail as buggy.mail.gz, the wronlgy converted
BABYL format mail as buggy.xmail.gz.  If you want to try to reproduce
the mail retrieval bug, you can subscribe to the mailinglist, that's
sending those mails:

https://ieeecs.ece.utexas.edu/mailman/listinfo/gakushuu_kotd

(I'm retrieving the mails using a pop3 po:<...> mailbox)

David Kühling
-- 
GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40


[-- Attachment #2: INBOX-format mail --]
[-- Type: application/octet-stream, Size: 6219 bytes --]

[-- Attachment #3: BABYL-format mail --]
[-- Type: application/octet-stream, Size: 6600 bytes --]

[-- Attachment #4: Type: text/plain, Size: 35 bytes --]


PS: I'm not subscribed, please CC

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: RMAIL doesn't always recognize rmail-mime-charset-pattern
@ 2002-05-20 12:56 Kenichi Handa
  0 siblings, 0 replies; 14+ messages in thread
From: Kenichi Handa @ 2002-05-20 12:56 UTC (permalink / raw)
  Cc: dvdkhlng, emacs-devel

"Eli Zaretskii" <eliz@is.elta.co.il> writes:
> By contrast, when rmail-convert-to-babyl-format sees an mbox format,
> it honors the charset= headers, so the result is correct.

> Handa-san, can you tell why does the Babyl branch of
> rmail-convert-to-babyl-format use decode-coding-region without ever
> looking at the charset= header?  It sounds like a bug, since movemail
> uses that format.

I don't remember.  :-(

Perhaps, I thought that Babyl format is produced only by
rmail, thus, that part should have been already encoded by
rmail-file-coding-sysstem or something.

---
Ken'ichi HANDA
handa@etl.go.jp

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

end of thread, other threads:[~2002-05-20 17:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-18 13:18 RMAIL doesn't always recognize rmail-mime-charset-pattern David Kuehling
2002-05-18 16:26 ` Eli Zaretskii
2002-05-18 17:52   ` David Kuehling
2002-05-19 13:09   ` David Kuehling
2002-05-19 13:27     ` Eli Zaretskii
2002-05-19 15:24       ` David Kuehling
2002-05-19 17:31         ` Eli Zaretskii
2002-05-20 14:47           ` Richard Stallman
2002-05-20 15:13             ` Paul Michael Reilly
2002-05-20 16:03               ` Eli Zaretskii
2002-05-20 17:44                 ` Paul Michael Reilly
2002-05-20 16:02             ` Eli Zaretskii
2002-05-19 15:28       ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2002-05-20 12:56 Kenichi Handa

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.