https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6149





--- Comment #8 from Thomas Maadie <[email protected]>  2009-07-07 20:54:29 
PST ---
I notice that most of the false positives for ISO-2022-JP occur in the header. 
I presume that SpamAssassin cannot correctly parse Japanese headers encoded in
ISO-2022-JP.  Is this so?

May I suggest that you use MIME decoders (and encoders) specific to
ISO-2022-JP, before parsing them?

For decoding ISO-2022-JP header text, you should consider using
&mimedecode($string,$kout) in mimer.pl (below)...
http://www.cc.rim.or.jp/~ikuta/mime_pls/mimer.pl

For encoding ISO-2022-JP header text, you should consider using
&mimeencode($string) in mimew.pl (below)...
http://www.cc.rim.or.jp/~ikuta/mime_pls/mimew.pl

You can download these by clicking mime_pls202.tgz or mime_pls202.rat (under
"Ver.2.02") here...
http://www.cc.rim.or.jp/~ikuta/mime_pls/download.html

If you need to contact the author, Mr. Noboru Ikuta, for permission or
acknowledgement, you can contact him at [email protected] .

Let me know if you need translation when contacting Mr. Ikuta, or if I should
contact him directly in Japanese.

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to