Custom .vcs file: Problem with unicode characters

V

Vassilis

Hi,

I'm using vbscript to create custom calendar entries (.vcs files). This was
working perfectly on outlook 2003 but on the .vcs files of outlook 2007 it
has different format. I managed to break it down and understand how it works
but I have big problem with Greek characters (Unicode)...

Inside the .vcs file the characters are displayed like this
"=0D=0A=E5=EB=EB=E7=ED=E9=EA=DC=0D=0A=0"
I also see a new field "ENCODING=QUOTED-PRINTABLE:"

Keep in mind that if I create a new calendar item though outlook it displays
correctly...when I save this as .vcs and open it with notepad I get the
garbage characters.

What do I need to change/add on the custom .vcs to recognize Unicode
characters so I can create manually .vcs files ???

thank you

Regards,
Vassilis
 
V

Vassilis

what do you mean ??
i'm exporting text from an excel line though vbscript to a text file, the
file works with outlook 2003 but on outlook 2007 i get strange symbols
instead of letters.
how do i encode them correctly ?
 
D

Dmitry Streblechenko

I mean that your code must check whether you have Unicode characters and
encode them using quoted-printable encoding.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
V

Vassilis

i never heard of this
how do i encode them using quoted-printable encoding ?
is there a procedure for that ?

thank you for your replies
 
V

Vassilis

I finally got a pretty easy solution.
The .vcs file needs to be saved as UTF-8 and not as ANSI or UNICODE.
 

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