Bug 40933

Summary: Outlook refuses to import korganizer's ics files
Product: [Applications] korganizer Reporter: stoledo
Component: import/exportAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED INTENTIONAL    
Severity: minor CC: andreas.gungl, angel_blue_co2004, christophe, eilers, greg.martyn, grundleborg, mikmach, smartins
Priority: NOR    
Version: 3.0   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Perl filter to prepare ical files for OL2000

Description stoledo 2002-04-14 06:16:40 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           korganizer
Version:           3.0 (using KDE 3.0.0 )
Severity:          wishlist
Installed from:    Red Hat Linux 7.2.92
Compiler:          gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-109)
OS:                Linux (i686) release 2.4.7-10
OS/Compiler notes: 

The encoding and charset and not specified in vcalendar files that kmail produces. This applies both to the main calendar file and to attachments in scheduling messages. 
I am using a utf8 locale (en_US.utf8) which I setenv before I start up kde (I didn't find a way to set this up from KDE's control center). This allows me to enter Hebrew titles to appointments. The fact that the encoding is utf8 allows korganizer to save and later retrieve the data correctly. However the vcalendar file should specify the encoding (using an encoding keyword as in the specs) which is 8-bit and the charset which is unicode and/or utf8 (the spec says something specifically about utf8 but I am not sure what it means). This would allow these files to be processed correctly. Currently MS Outlook 2000 refuses to import my korganizer calendar perhaps because of the 8-bit characters.
I enjoy the program a lot and the ability to use multiple languages is great thanks. Regards Sivan Toledo


(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Reinhold Kainhofer 2003-11-03 10:16:42 UTC
This is actually not a problem of the encoding field of the calendar file. Outlook refuses to import any file generated by korganizer, even if it doesn't contain utf-8 characters...

Reinhold
Comment 2 Andreas Gungl 2004-01-06 16:46:58 UTC
> This is actually not a problem of the encoding field of the calendar file.
> Outlook refuses to import any file generated by korganizer, even if it
> doesn't contain utf-8 characters... 

This is true. Even OL2000 fails sometimes to import it's self-created ical events. :-)
But you can import nearly all types of events without problems in OL2000 when you tweak the ical file only a little bit. I'm using a German OL2000 (SP-3) and use a small perl script to workaround basically three minor issues in ical files exported by KOrganizer:
- OL expects a PUBLISH method line
- OL doesn't handle negativ values for VALARM triggers
- OL doesn't handle reminders with value of zero during import (you can create such events in OL2000 though)

I'll attach my script. While I think that MS won't make OL's import filter working, I hope people out there can use it to import KOrganizers ical files into OL. Note that the logic is kept very simple. To allow processing of randomly formated ical files as of Mozilla Calender one would have to reengineer the regexp handling completely.
Comment 3 Andreas Gungl 2004-01-06 16:50:35 UTC
Created attachment 4000 [details]
Perl filter to prepare ical files for OL2000

To be able to import ical files exported by KOrganizer into OL2000, just pipe
the ical file through this filter. The new file can be read by OL, but OL will
not notice todos (VTODO), only the events (VEVENT).
Comment 4 Andreas Gungl 2004-05-11 17:05:49 UTC
The problem does still exist in CVS HEAD.
Comment 5 stoledo 2004-05-11 17:17:51 UTC
I reported the bug.

Andreas Gungl wrote:

> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>       
> http://bugs.kde.org/show_bug.cgi?id=40933      
> 

> 
> 
> 
> ------- Additional Comments From a.gungl gmx de  2004-05-11 17:05 -------
> The problem does still exist in CVS HEAD.
>  
>  +++++++++++++++++++++++++++++++++++++++++++
>  This Mail Was Scanned By Mail-seCure System
>  at the Tel-Aviv University CC.

Comment 6 Reinhold Kainhofer 2004-07-22 13:07:17 UTC
*** Bug 54789 has been marked as a duplicate of this bug. ***
Comment 7 Reinhold Kainhofer 2006-11-02 18:51:53 UTC
Reassigning all KOrganizer bug reports and wishes to the newly created 
korganizer-devel mailing list.
Comment 8 George Goldberg 2007-12-17 05:57:51 UTC
Is this bug still present in a recent version of KDE, such as 3.5.8 or KDE 4 RC2?
Comment 9 George Goldberg 2008-01-30 03:01:24 UTC
Closing due to no response by reporters. Please reopen if this bug still exists in a recent version of KDE, such as 4.0.0 or 3.5.8.
Comment 10 Mikolaj Machowski 2008-09-08 10:30:03 UTC
Unfortunately this bug still exists. Confirming for KDE 3.5.9 and Outlook 2003 SP2.

When trying to import ics file created by KOrganizer Outlook gives message:
File can be damaged.

Comment 11 Sergio Martins 2008-12-30 19:49:00 UTC
Shouldn't this bug be reported to Microsoft instead?
Comment 12 Sergio Martins 2008-12-30 19:55:21 UTC
*** Bug 113989 has been marked as a duplicate of this bug. ***
Comment 13 Angel Blue01 2009-05-07 20:49:30 UTC
I am not experiencing any problems importing ics files into Outlook 2007 SP1 originally created in Korganizer in KDE 3.5, edited in Korganizer in 4.1
Comment 14 Allen Winter 2009-06-12 23:04:48 UTC
I'm going to close this bug since I have no plans to spend time on KDE 3.5.x and the bug seems to be fixed in KDE 4.1 and above.