[Bug 160488] Rewrite header adds the new header too many times

Thomas McGuire Thomas.McGuire at gmx.net
Tue Apr 15 17:19:10 BST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=160488         
Thomas.McGuire gmx net changed:

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



------- Additional Comments From Thomas.McGuire gmx net  2008-04-15 18:19 -------
That is not a bug.
The "Rewrite Header" filter rule will replace each occurence of the given text with something else.
In your case, you used ".", which is the regular expression for "any character".
So each character will be replaces with "text/plain;charset="iso-8859-2"", leading to many of those strings.
Use a better regular expression, preferable something that matches the incorrect charset only.

KMail also has a fallback character encoding for the reader window, see the config options (though that only works in the lastest SVN version).



More information about the Kdepim-bugs mailing list