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

--- Comment #1 from Mark Martinec <[email protected]> ---
Created attachment 5271
  --> https://issues.apache.org/SpamAssassin/attachment.cgi?id=5271&action=edit
The suggested replacement subroutine MS::Message::Node::_normalize()

This implementation is compatible with the existing implementation,
they agree with each other in about 92 % or cases.

Implemented with emphasis on:
- trust a declared character set as long as this assumption is not
  invalidated by the actual text (failed attempted strict decoding)
- avoid unnecessary decoding (by Encode::decode) where possible,
- avoid calling Encode::Detect::Detector unless necessary,
- produce useful debug diagnostics.

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

Reply via email to