iCal import fails

  • Thread starter Thread starter Otto
  • Start date Start date
O

Otto

Hi there,
I'm trying to import an iCal file that I have produced with some C#
code. When I try to do this Outlook says "Can't copy the items. Cannot
import vCalendar file." I'm running Outlook 2003 SP3.

The file looks like this:
BEGIN:VCALENDAR
VERSION:2.0
METHOD:PUBLISH
PRODID:-//My Company//My Product iCal API//EN
BEGIN:VEVENT
DTSTAMP:20060228T142421Z
DTSTART:20060228T130000Z
DTEND:20060228T140000Z
UID:[email protected]
SUMMARY:what a title
DESCRIPTION:this is my description
END:VEVENT
END:VCALENDAR

Any idea what could be wrong?

cheers,
Otto
 
Saving that data to an ICS or VCS file on my machine it opens as an Outlook
appointment just fine.
 
Thanks for the reply. It looks like it must have been the encoding of
the file. When I converted it to ANSI (original was UTF-8) it imports
ok.
 
it seems like outlook barfs on the bom (ef bb bf) of utf files. if the
file is utf-8 encoded but lacks these bytes the import works.
 
Back
Top