http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4636





------- Additional Comments From [EMAIL PROTECTED]  2006-01-08 15:17 -------
I just found this patch today and am testing right now.  It seems to work well
for iso-2022-jp, shift-jis, and utf-8 text body.

> http://foo23500.com{ESC}(B/     ^http://foo23500.com$

This test stream is not good because this pattern never happens with
iso-2022-jp.

In iso-2022-jp, Japanese characters are ALWAYS enclosed by "{ESC}$B" and
"{ESC}(B", such like "{ESC}$B$"$${ESC}(B" (where "{ESC}" is 0x1b).  The test
pattern only containg trailing escape sequence.  The _normalize function can not
handle this well and it is not responsibility of this function and Encode.

In addition, it is not essential to _normalize func though, the header should be
changed.  Typically, Content-Type for Japanese iso-2022-jp text body is

  Content-Type: text/plain;charset=iso-2022-jp

Actually, some spams ignore MIME header, so we should test against miscellaneous
wrong header including no MIME headers.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to