[Kde-pim] [PATCH] CHARSET parameter not handled by libical
Tobias Koenig
tokoe at kde.org
Wed Feb 28 11:20:04 GMT 2007
Hi,
I just discovered a bug in libical which causes libkcal to load
iCal/vCal calendars incorrectly.
The problem is that libical doesn't know about the 'CHARSET' parameter
that can be used to define the charset for a field (e.g. SUMMARY or
DESCRIPTION).
However some Groupware server (e.g. eGroupware, OpenXchange) create
fields with charset parameter if it contains non-latin1 characters.
The attached patch fixes this bug by adding the CHARSET attribute to the
list of known attributes.
Ciao,
Tobias
--
Separate politics from religion and economy!
The Council of the European Union is an undemocratic and illegal institution!
-------------- next part --------------
--- parameters.csv 2007-02-28 11:40:26.000000000 +0100
+++ parameters.csv.new 2007-02-28 11:40:18.000000000 +0100
@@ -1,5 +1,6 @@
"#Name ","C Type","Enumeration Values"
"ALTREP","const char*",
+"CHARSET","const char*",
"CN","const char*",
"CUTYPE","icalparameter_cutype","INDIVIDUAL;GROUP;RESOURCE;ROOM;UNKNOWN"
"DELEGATED-FROM","const char*",
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20070228/9048794f/attachment.sig>
-------------- next part --------------
_______________________________________________
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