https://bugs.kde.org/show_bug.cgi?id=476480

--- Comment #2 from Erin Yuki Schlarb <erin-kde@ninetailed.ninja> ---
After tracing the whole email handling code from KMailTransport backwards to
KMessageComposer, I found that the issue has nothing to do with Unicode
normalization and is instead a simple `QString::simplified()` call inside the
`KEmailAddress::splitAddressList` function, which is called by
`KEmailAddress::normalizeAddressesAndEncodeIdn` which is unconditionally used
by KMessageComposer for outgoing messages.

I understand that that call to `QString::simplified()` is there to remove
whitespace around the individual address entries in address lists of the form
`Name <email>, Name 2 <email2>` (ie: `Name <email>` + `Name2 <email2>` instead
of `Name <email>` + ` Name2 <email2>`). Changing all calls from
`QString::simplified()` to `QString::trimmed()` in that function still makes
that work without doing any other changes to the plain text and fixes this bug.
(I just tested this with KMail!)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to