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:me@mycompany.com
SUMMARY:what a title
DESCRIPTION:this is my description
END:VEVENT
END:VCALENDAR
Any idea what could be wrong?
cheers,
Otto
Vince Averello [MVP-Outlook] - 28 Feb 2006 15:09 GMT
Saving that data to an ICS or VCS file on my machine it opens as an Outlook
appointment just fine.
> Hi there,
> I'm trying to import an iCal file that I have produced with some C#
[quoted text clipped - 17 lines]
>
> Any idea what could be wrong?
Otto - 28 Feb 2006 15:41 GMT
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.
Otto - 01 Mar 2006 15:12 GMT
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.