https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7520

--- Comment #16 from Bill Cole <[email protected]> ---
(In reply to Reindl Harald from comment #10)
> how is it a feature to bail out without telling the file?

SA is NOT bailing out. This message is a WARNING that the data it is processing
is not properly encoded, so some of that data may not be treated as the logical
characters that may be intended by the creator or expected by the receiver or
represented by other tools that decode invalid garbage using different
strategies. 

> either give helpful warnings or be quite

This warning is generated by the HTML::Parser module (a dependency of SA, not a
part of SA) and due to the way SA uses that module, the non-fatal, non-failure
warning is invisible to the calling code in SA, which also does not know the
name of the file which was the source of the HTML text being parsed. 

Quieting just this warning or conditionally identifying the source file (which
may actually be unknown to SA entirely) of the HTML text causing the warning is
infeasible with the current architecture of SA. The "-X" perl option will
silence all warnings, if that's what you want.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to