Summary: | Invitation emails have encoding problems (e.g. with umlauts) | ||
---|---|---|---|
Product: | [Unmaintained] KOrganizer Mobile | Reporter: | Bernhard E. Reiter <bernhard> |
Component: | general | Assignee: | Ludwig Reiter <ludwig.reiter> |
Status: | VERIFIED FIXED | ||
Severity: | major | CC: | aheinecke, ludwig.reiter, tokoe |
Priority: | HI | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Windows CE | ||
OS: | Microsoft Windows CE | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Bernhard E. Reiter
2011-01-28 10:04:22 UTC
Git commit 79a8ab94d747a2c5432b01cd2168a1b5b733fdde by Tobias Koenig. Pushed by tokoe into branch 'master'. Fix encoding for initial invitation mails During the port from mimelib to kmime the explicit setting of the charset and transfer-encoding has been lost. BUG: 264598 M +10 -2 calendarsupport/mailclient.cpp http://commits.kde.org/ee6cc38b/79a8ab94d747a2c5432b01cd2168a1b5b733fdde Bernhard, can you retest this, please? version 2011-02-03 16:36 Test: 1. A sends an invitation to B using a name with umlauts. 2. B looks at the mail. But the attendee list of A's invitation doesn't contain B's entry. So there seems to be a problem. Hej Ludwig, if A creates the appointment, is A listed as attendee in the event editor as well? Is 'B' a WinCE device or e3.5 desktop installation? Ciao, Tobias We still have encoding problems, the umlaut is now quoted-printable encoded, but this also included the CRs of each line. Example lines of windows-ce/Kontact-Mobile/testing/2011-02-10-21-10: ATTENDEE;CN=3D"Bj=C3=B6rn Ricks";RSVP=3DTRUE;PARTSTAT=3DNEEDS-ACTION;=0D= ROLE=3DREQ-PARTICIPANT;X-UID=3D1771038940:mailto:bjoern.ricks@demo.kol= ab.org=0D DTSTAMP:20110211T145948Z=0D UID:libkcal-18913.122=0D LAST-MODIFIED:20110211T145948Z=0D SUMMARY:ein testtermin z15:59 =C3=BC=0D See the '=0D' at the end of each line, even of those that are continued. This is definately wrong and Outlook 2003 SP3 on Windows XP (both German) does not recognise the resulting objects as an invitation. (If I manually remove the '=0D's from each line Outlook recognises it.) Git commit b901f2e103c8884c498e74b63888bb10cfcefedc by Tobias Koenig. Committed on 14/02/2011 at 12:14. Pushed by tokoe into branch 'komo3'. Fix quoted-printable encoding of invitation mails We have to call KMime::CRLFtoLF on every content passed to KMime::Content::setContent() or KMime::Content::setBody(), otherwise the internal algorithms of libkmime won't work correctly. BUG: 264598 M +3 -3 calendarsupport/mailclient.cpp M +2 -2 plugins/messageviewer/bodypartformatter/text_calendar.cpp http://commits.kde.org/kdepim/b901f2e103c8884c498e74b63888bb10cfcefedc Kontact Touch Windows CE 20110218 Send an invitation with umlaut in attendee name to an OL 2003. Outlook recognizes the invitation. Verified. |