[spambayes-bugs] [ spambayes-Bugs-799552 ] High-ascii characters in subject generate exception

SourceForge.net noreply at sourceforge.net
Tue Sep 2 22:24:22 EDT 2003


Bugs item #799552, was opened at 2003-09-03 00:24
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=799552&group_id=61702

Category: pop3proxy
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Bob Babcock (wssddc)
Assigned to: Nobody/Anonymous (nobody)
Summary: High-ascii characters in subject generate exception

Initial Comment:
A spam message with a high-ascii character in the

subject line yields a message header line similar to this:



X-Spambayes-Exception:

exceptions.UnicodeDecodeError('ascii' codec can't

	decode byte 0xb6 in position 15: ordinal not in

range(128))

	in append() at D:\App\PYTHON~1.3\lib\email\Header.py line

	272: ustr = unicode(s, incodec, errors)



I've just started using SpamBayes.  The very first

messages I fed it included spams with characters 0xB6

or 0xCE  in the subject line.  I assume other

high-ascii characters would produce the same error.



I'm using

  Win/2K

  SpamBayes 1.0a4

  pop3proxy

  Python 2.3



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=799552&group_id=61702



More information about the Spambayes-bugs mailing list