GNOME Bugzilla – Bug 91532
pan doesn't display headers "as is"
Last modified: 2004-12-22 21:47:04 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.
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.
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)
Fixed in CVS: http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan&command=DIFF_FRAMESET&file=ChangeLog&rev1=1.1541&rev2=1.1542&root=/cvs/gnome http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan&command=DIFF_FRAMESET&file=text.c&rev1=1.325&rev2=1.326&root=/cvs/gnome http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan&command=DIFF_FRAMESET&file=gui.c&rev1=1.539&rev2=1.540&root=/cvs/gnome http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan&command=DIFF_FRAMESET&file=ChangeLog&rev1=1.1540&rev2=1.1541&root=/cvs/gnome