Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Custom .vcs file: Problem with unicode characters (http://www.outlookbanter.com/outlook-vba/64649-custom-vcs-file-problem-unicode.html)

Vassilis January 8th 08 10:46 AM

Custom .vcs file: Problem with unicode characters
 
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




Dmitry Streblechenko January 8th 08 05:03 PM

Custom .vcs file: Problem with unicode characters
 
You need to encode the Unicode characters correctly?

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

"Vassilis" wrote in message
...
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






Vassilis January 9th 08 01:51 PM

Custom .vcs file: Problem with unicode characters
 
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 ?

"Dmitry Streblechenko" wrote in message
...
You need to encode the Unicode characters correctly?

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

"Vassilis" wrote in message
...
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








Dmitry Streblechenko January 9th 08 09:34 PM

Custom .vcs file: Problem with unicode characters
 
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

"Vassilis" wrote in message
...
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 ?

"Dmitry Streblechenko" wrote in message
...
You need to encode the Unicode characters correctly?

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

"Vassilis" wrote in message
...
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










Vassilis January 10th 08 07:30 AM

Custom .vcs file: Problem with unicode characters
 
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

"Dmitry Streblechenko" wrote in message
...
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

"Vassilis" wrote in message
...
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 ?

"Dmitry Streblechenko" wrote in message
...
You need to encode the Unicode characters correctly?

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

"Vassilis" wrote in message
...
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












Dmitry Streblechenko January 10th 08 08:23 PM

Custom .vcs file: Problem with unicode characters
 
It all depends on your programming language.
A quick Google search returns a quite a few hits:
http://www.google.com/search?hl=en&q...y+visual+basic

QP encoding is used when working with the MIME messages in any way - I would
imagine all POP3 or SMTP libraries support ir.

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

"Vassilis" wrote in message
...
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

"Dmitry Streblechenko" wrote in message
...
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

"Vassilis" wrote in message
...
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 ?

"Dmitry Streblechenko" wrote in message
...
You need to encode the Unicode characters correctly?

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

"Vassilis" wrote in message
...
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














Vassilis January 11th 08 07:37 AM

Custom .vcs file: Problem with unicode characters
 
ok thank you, i will take a look at the search results.
thank you for your help

"Dmitry Streblechenko" wrote in message
...
It all depends on your programming language.
A quick Google search returns a quite a few hits:
http://www.google.com/search?hl=en&q...y+visual+basic

QP encoding is used when working with the MIME messages in any way - I
would imagine all POP3 or SMTP libraries support ir.

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

"Vassilis" wrote in message
...
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

"Dmitry Streblechenko" wrote in message
...
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

"Vassilis" wrote in message
...
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 ?

"Dmitry Streblechenko" wrote in message
...
You need to encode the Unicode characters correctly?

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

"Vassilis" wrote in message
...
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
















Vassilis January 16th 08 07:51 AM

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


"Vassilis" wrote in message
...
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







All times are GMT +1. The time now is 03:33 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com