Fix problems with subjects containing international chars

Hi,

This patch should fix problem with subjects in outgoing emails. This
patch has nothing to do with handling incoming emails, but only
outgoing. You can see problems when EmailOutputEncoding is
multi-byte(UTF-8 is and several other encodings as well) and subject
is quite long (>75 chars, depends on encoding).

Thanks to Andrew Kornilov for keep kicking me and cooperating. As soon
as I’ll get positive feedback I’ll commit the patch into 3.6 branch.

Best regards, Ruslan.

RT-3.6.5-fix_mime_encode_word.patch (1.57 KB)

Got a feedback from Andrew, so here is new version of the patch.On 10/26/07, Ruslan Zakirov ruz@bestpractical.com wrote:

Hi,

This patch should fix problem with subjects in outgoing emails. This
patch has nothing to do with handling incoming emails, but only
outgoing. You can see problems when EmailOutputEncoding is
multi-byte(UTF-8 is and several other encodings as well) and subject
is quite long (>75 chars, depends on encoding).

Thanks to Andrew Kornilov for keep kicking me and cooperating. As soon
as I’ll get positive feedback I’ll commit the patch into 3.6 branch.


Best regards, Ruslan.

Best regards, Ruslan.

RT-3.6.5-v2-fix_mime_encode_word.patch (2.01 KB)

Patch is in the repo and will be part of 3.6.6 release.On Oct 26, 2007 3:07 PM, Ruslan Zakirov ruz@bestpractical.com wrote:

Got a feedback from Andrew, so here is new version of the patch.

On 10/26/07, Ruslan Zakirov ruz@bestpractical.com wrote:

Hi,

This patch should fix problem with subjects in outgoing emails. This
patch has nothing to do with handling incoming emails, but only
outgoing. You can see problems when EmailOutputEncoding is
multi-byte(UTF-8 is and several other encodings as well) and subject
is quite long (>75 chars, depends on encoding).

Thanks to Andrew Kornilov for keep kicking me and cooperating. As soon
as I’ll get positive feedback I’ll commit the patch into 3.6 branch.


Best regards, Ruslan.


Best regards, Ruslan.

Best regards, Ruslan.