Gnus development mailing list
 help / color / mirror / Atom feed
* Variations in Summary buffer display
@ 1998-09-16  0:50 Stephen Zander
  1998-09-16  4:58 ` 朱胜火
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Zander @ 1998-09-16  0:50 UTC (permalink / raw)



The following two messages from Shenghuo ZHU came through this list
recently.  When I read them using pgnus 0.31 and Xemacs 20.4 Mule the
'From' lines in the summary display appear differently.  A quick
glance at the headers reveals why, but as they were both sent using
pgnus 0.31 I'm wondering why they vary.  Relevent headers follow.

This one appears as Chinese hieroglyphics:

From: zsh@cs.rochester.edu (=?cn-gb-2312?b?1uzKpLvw?=)
Date: 15 Sep 1998 15:03:48 -400
Message-ID: <5b3e9tmc4r.fsf@gin.cs.rochester.edu>
User-Agent: Gnus/5.070031 (Pterodactyl Gnus v0.31) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=cn-gb-2312
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by growl.pobox.com id PAA01826

This one doesn't:

From: zsh@cs.rochester.edu (Öìʤ»ð)
Date: 15 Sep 1998 02:39:48 -400
Message-ID: <2nogsh516z.fsf@zsh.cs.rochester.edu>
User-Agent: Gnus/5.070031 (Pterodactyl Gnus v0.31) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=cn-gb-2312
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by growl.pobox.com id CAA18875

If it makes any difference the first one was a multipart message (it
included a patch).

-- 
Stephen
---
Perl is really designed more for the guys that will hack Perl at least
20 minutes a day for the rest of their career.  TCL/Python is more a
"20 minutes a week", and VB is probably in that "20 minutes a month"
group. :) -- Randal Schwartz


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

* Re: Variations in Summary buffer display
  1998-09-16  0:50 Variations in Summary buffer display Stephen Zander
@ 1998-09-16  4:58 ` 朱胜火
  0 siblings, 0 replies; 2+ messages in thread
From: 朱胜火 @ 1998-09-16  4:58 UTC (permalink / raw)



Sorry for the puzzle. It is my fault for setting user-full-name a raw
(singlebyte) string.

(setq user-full-name "Chinese raw string")

When I tested, I eval'ed in a emacs buffer, so user-full-name was
actually decoded (multibyte) string. When I restarted the GNUS,
user-full-name was raw (singlebyte) string. At that time, I sent the
puzzling mail. Now I am using the following codes to make sure
user-full-name is multibyte string. 

(if (and (fboundp 'multibyte-string-p)
	 (not (multibyte-string-p user-full-name)))
    (setq user-full-name (decode-coding-string user-full-name 'cn-gb-2312)))

(I am lying. I do not set user-full-name directly, but use
gnus-posting-styles to set it.)

Wish this helps those with the same problem.  I guess, this problem
still exists in non-mule emacs, :-(. I am going to find a way to by
calling rfc2047-encode directly.

>>>>> "Stephen" == Stephen Zander <gibreel@pobox.com> writes:

Stephen> The following two messages from Shenghuo ZHU came through
Stephen> this list recently.  When I read them using pgnus 0.31 and
Stephen> Xemacs 20.4 Mule the 'From' lines in the summary display
Stephen> appear differently.  A quick glance at the headers reveals
Stephen> why, but as they were both sent using pgnus 0.31 I'm
Stephen> wondering why they vary.  Relevent headers follow.

Stephen> This one appears as Chinese hieroglyphics:

Stephen> From: zsh@cs.rochester.edu (=?cn-gb-2312?b?1uzKpLvw?=)
Stephen> Date: 15 Sep 1998 15:03:48 -400
Stephen> Message-ID: <5b3e9tmc4r.fsf@gin.cs.rochester.edu>
Stephen> User-Agent: Gnus/5.070031 (Pterodactyl Gnus v0.31) Emacs/20.3
Stephen> MIME-Version: 1.0
Stephen> Content-Type: text/plain; charset=cn-gb-2312
Stephen> Content-Transfer-Encoding: quoted-printable
Stephen> X-MIME-Autoconverted: from 8bit to quoted-printable by growl.pobox.com id PAA01826

Stephen> This one doesn't:

Stephen> From: zsh@cs.rochester.edu (朱胜火)
Stephen> Date: 15 Sep 1998 02:39:48 -400
Stephen> Message-ID: <2nogsh516z.fsf@zsh.cs.rochester.edu>
Stephen> User-Agent: Gnus/5.070031 (Pterodactyl Gnus v0.31) Emacs/20.3
Stephen> MIME-Version: 1.0
Stephen> Content-Type: text/plain; charset=cn-gb-2312
Stephen> Content-Transfer-Encoding: quoted-printable
Stephen> X-MIME-Autoconverted: from 8bit to quoted-printable by growl.pobox.com id CAA18875

Stephen> If it makes any difference the first one was a multipart message (it
Stephen> included a patch).

Stephen> -- 
Stephen> Stephen
Stephen> ---
Stephen> Perl is really designed more for the guys that will hack Perl at least
Stephen> 20 minutes a day for the rest of their career.  TCL/Python is more a
Stephen> "20 minutes a week", and VB is probably in that "20 minutes a month"
Stephen> group. :) -- Randal Schwartz

--
Shenghuo ZHU(朱胜火)


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

end of thread, other threads:[~1998-09-16  4:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-09-16  0:50 Variations in Summary buffer display Stephen Zander
1998-09-16  4:58 ` 朱胜火

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 NNTP newsgroup(s).