[Kde-pim] Review Request 116841: do not double-encode vcard data and produce correct UTF-8

Thomas Tanghus thomas at tanghus.net
Sun Mar 16 19:41:44 GMT 2014


On Sunday 16 March 2014 19:26 Martin Koller wrote:
> The DAV resource creates an addressee VCARD by using KABC::VCardConverter
> which already delivers UTF-8 when creating a V3.0 vcard. In an attempt to
> fix KDE bug https://bugs.kde.org/show_bug.cgi?id=310137 a wrong conversion
> from UTF-8 to finally again UTF-8 was introduced (6b829e2..762797c)
> This patch avoids the wrong conversion by just delivering directly the UTF-8
> data.
> 
> With this patch applied, simple (short) names containing Umlauts can now
> correctly be created on the owncloud server.
> 
> However, I can still reproduce the original bug #310137, but analyzing this
> further, it seems that this is a bug in the owncloud WebDAV server, which
> obviously does not deal correctly with continuation lines. Importing such a
> 3.0 VCARD file via the web interface works in owncloud so it must be a bug
> in the WebDAV part of owncloud.
 
It seems to be an issue with the database collation we use[1], so multibyte 
chars corrupts the event/contact.
This goes for both the web UI and *DAV access though.

[1] https://github.com/owncloud/calendar/issues/198

-- 
Med venlig hilsen / Best Regards

Thomas Tanghus
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list