iCal import fails

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
 
V

Vince Averello [MVP-Outlook]

Saving that data to an ICS or VCS file on my machine it opens as an Outlook
appointment just fine.
 
O

Otto

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.
 
O

Otto

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top