[Logcheck-devel] Bug#470608: wrong charset in logcheck mail (charset=unknown-8bit)

Frédéric Brière fbriere at fbriere.net
Tue Aug 18 00:21:27 UTC 2009


On Wed, Mar 12, 2008 at 11:26:03AM +0200, Andrei Emeltchenko wrote:
> Part of the header:
> 
> Content-Type: text/plain; charset=unknown-8bit

This was either inserted by your mailer or your mail reader; logcheck
does not specify any character encoding itself.

If it did, though, unknown-8bit would probably be the only acceptable
choice.  Even if there was a way for logcheck to determine a specific
encoding for a log file (see bug #401259), it cannot possibly vouch that
whatever's in there will in fact adhere to that encoding.  (This is
especially true for encodings like UTF-8.)  There's lots of crap like
ssh usernames in there, and crackers/spammers are unlikely to abide by
your particular choice of encoding.


-- 
<StevenK> I can usually supress the feelings that tell me to crash
          tackle a girl into the bushes





More information about the Logcheck-devel mailing list