Problems on long subjects with UTF8 charset
Posted: Wed Apr 25, 2007 1:36 pm
I like SwiftMailer, but I have to report the bug.
I use Swift-3.1.5-php4
Wrong longer subject with utf8 charset - bad compartmentalization.
UTF-8 uses one to four bytes per character, depending on the Unicode symbol.
Swift now produces
Subject: =?utf-8?Q?Varov=C3=A1n=C3=AD_p=C5=99ed_expirac=C3=AD_dom=C3?=
=?utf-8?Q?=A9ny_logomix?=
it should be like this
Subject: =?utf-8?Q?Varov=C3=A1n=C3=AD_p=C5=99ed_expirac=C3=AD_dom=C3=A9?=
=?utf-8?Q?ny_logomix?=
Thank you
Oldrich
I use Swift-3.1.5-php4
Wrong longer subject with utf8 charset - bad compartmentalization.
UTF-8 uses one to four bytes per character, depending on the Unicode symbol.
Swift now produces
Subject: =?utf-8?Q?Varov=C3=A1n=C3=AD_p=C5=99ed_expirac=C3=AD_dom=C3?=
=?utf-8?Q?=A9ny_logomix?=
it should be like this
Subject: =?utf-8?Q?Varov=C3=A1n=C3=AD_p=C5=99ed_expirac=C3=AD_dom=C3=A9?=
=?utf-8?Q?ny_logomix?=
Thank you
Oldrich