slrn charset patches
Here you can find patches, which help to improve the display of broken
postings often created by Outlook Express, Free Agent or the Google Groups
webinterface (and some other patches).
The latest slrn from cvs is needed.
You can find a tarball of this version in the packages directory.
This page is not intended to help you to set up the pl2 version of slrn-0.9.8.1.
There are other pages which do that, like the excellent tutorial of Andrew Strong.
- fallback charset patch (feature enhancement)
When running slrn in an UTF-8 environment a missing charset declaration in the
header, subject or body will result in displaying things like "Gr<FC><DF>e"
instead of "Grüße".
With this patch you can set a variable in the .slrnrc to tell slrn that it
should assume this text to be encoded with the charset defined by the
"fallback_charset" variable, eg
| set fallback_charset iso-8859-1
All charsets know by the iconv function should be possible, if the charset of
the read posting is in a encoding not known to the iconv function, slrn will try
to use the fallback charset.
If the value is not set, slrn behaves like without the patch.
- us-ascii override patch (feature enhancement)
This patch will allow slrn to override the charset value "us-ascii" declared in
postings with the value of the fallback charset. This might be useful to handle
google postings I sometimes ran across, which claimed to be "us-ascii" but had 8
bit characters inside. This can be done by adding
| set usascii_override 1
to the .slrnrc. I decided to make this a separate patch because here you start
to mess around with standard compliant postings. Apply this patch after the
fallback charset patch.
- rot13 umlaut patch (bugfix)
When derot13ing an article slrn would convert the word "Teüßr" to "Gr<FC><DF>e"
This patches fixes the behaviour of the rot13ing of articles, so "Teüßr" would
be derot13ed to "Grüße".
- encoded newline patch (bugfix)
When running across quoted printable encoded newlines in a posting (header or
body) or base64 encoded newlines in headers, it might happen that slrn crashes.
I've only seen such articles in newsgroups, which are gated mailinglists, so it
might be the mail2news gateway is buggy. But anyway, slrn should not crash. So
if you run into problems reading such groups give this patch a try.
- minimal multipart patch (feature enhancement)
This adds minimal multipart support to slrn. Text type parts are displayed
correctly binary and other unsupported parts are hidden.
Don't expect it to read html postings or to save binary attachments, it just
helps to ease the pain when reading pgp/mime signed postings or postings created
by pine. You can disable this patch by adding
| set minimal_multipart 0
to the slrnrc. Thanks to Christian Ebert. He helped a lot to debug this patch,
thus you could call it now quite stable. If you like to have real mime-support
I suggest you try out his python based slrnmime extensions
Feedback is welcome, please send suggestions, improvements or
bug reports to Thomas Wiegner <wiegner@gmx.de>
Thanks to Michael for allowing me to put this stuff on his website.
Thomas Wiegner - Last update Wednesday, 10-Oct-2007 17:37:44 CEST
Name Last modified Size Description
Parent Directory -
packages/ 10-Oct-2007 17:34 -
us-ascii_override.patch 17-Jul-2007 23:33 2.8K
tw_complete_patchset 29-Sep-2007 19:38 20K
rot13_umlaut.patch 07-Jul-2007 16:05 1.3K
minimal_multipart.patch 07-Sep-2007 17:31 8.1K
fallback_charset.patch 29-Jul-2007 11:24 5.5K
encoded_newline.patch 25-Sep-2007 17:22 4.5K