After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 91532 - pan doesn't display headers "as is"
pan doesn't display headers "as is"
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
0.13.0
Other Linux
: Low minor
: 0.13.1
Assigned To: Charles Kerr
Pan QA Team
Depends on:
Blocks:
 
 
Reported: 2002-08-23 15:34 UTC by Christian Lohmaier
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Lohmaier 2002-08-23 15:34:14 UTC
When showing all headers, pan 0.13.0 doesn't show the raw headers (like I
expect and want it to do), but the decoded headers instead. (which makes it
a waste of time having a look at it)
Examples: 
instead of:
From: Georg =?ISO-8859-15?Q?Sandk=FChler?= <xx@xxxxxx.xx>
pan displays
From: Georg Sandkühler <xx@xxxxxx.xx>

instead of
Subject: Account =?ISO-8859-1?Q?z=E4hlt_gel=F6schte?= E-Mails mit
pan displays
Subject: Account zählt gelöschte E-Mails mit

I don't know any other program that behaves like this.
Comment 1 Charles Kerr 2002-09-11 23:32:58 UTC
Fejj, is there any way to tell GMime to not decode headers?

I'm not convinced about the usefulness of showning
the undecoded headers, but if GMime has/will have
a way to bypass decoding, I don't mind using it for
this case.
Comment 2 Jeffrey Stedfast 2002-09-12 05:17:00 UTC
g_mime_object_get_header (GMIME_OBJECT (message), "Subject");

that will get the raw (pre-decoded) Subject: header
same goes for any other header.

g_mime_object_get_headers() or whatever it's called (the one that gets
the entire header block) will also return the raw header block
(pre-decoded)