You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2015/10/08 19:13:12 UTC

[Bug 7250] New: Changing a default setting of 'report_charset' to UTF-8

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

            Bug ID: 7250
           Summary: Changing a default setting of 'report_charset' to
                    UTF-8
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Libraries
          Assignee: dev@spamassassin.apache.org
          Reporter: Mark.Martinec@ijs.si

A default setting of 'report_charset' is currently undefined, meaning
that no attempt is made on properly encoding pieces that form a report,
different encodings are just spliced together, with expected results ;)
Another common choice is to set it to ISO-8859-1, which will munge
any non- Latin-1 character in a report.

Now that internals are being gradually converted to Unicode (perl characters),
or to UTF-8 octets (like in a mail header), I think it's about time to change
the default encoding to UTF-8 in a report body and in mail header fields
generated by SpamAssassin. The UTF-8 is nowadays understood by most mail
readers, and ISO-8859-1 is useless for anyone outside of the Western world
anyway. Moreover, encoding perl characters to UTF-8 is a very fast
operation, compared to calling Encode to encode to any other encoding.

I'm opening this ticket mainly in order to document the change.

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

[Bug 7250] Changing a default setting of 'report_charset' to UTF-8

Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7250

--- Comment #1 from Mark Martinec <Ma...@ijs.si> ---
trunk:
  Sending lib/Mail/SpamAssassin/Conf.pm
  Sending lib/Mail/SpamAssassin/PerMsgStatus.pm
Committed revision 1707587.

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

[Bug 7250] Changing a default setting of 'report_charset' to UTF-8

Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7250

--- Comment #4 from Mark Martinec <Ma...@ijs.si> ---
adjusted two affected tests:
  Sending t/prefs_include.t
  Sending t/reportheader_8bit.t
Committed revision 1707606.

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

[Bug 7250] Changing a default setting of 'report_charset' to UTF-8

Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7250

Kevin A. McGrail <km...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #5 from Kevin A. McGrail <km...@apache.org> ---
Fix committed 3 years ago

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

[Bug 7250] Changing a default setting of 'report_charset' to UTF-8

Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7250

--- Comment #3 from Mark Martinec <Ma...@ijs.si> ---
forgot to commit this one, loosely related:
trunk:
  Sending spamassassin.raw
Committed revision 1707598.

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

[Bug 7250] Changing a default setting of 'report_charset' to UTF-8

Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7250

Kevin A. McGrail <km...@pccc.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kmcgrail@pccc.com

--- Comment #2 from Kevin A. McGrail <km...@pccc.com> ---
+1.

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

[Bug 7250] Changing a default setting of 'report_charset' to UTF-8

Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7250

Mark Martinec <Ma...@ijs.si> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|Undefined                   |4.0.0

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