If a store supports Unicode there is a flag set on the Store object at
PR_STORE_SUPPORT_MASK (0x340D0003). The bit that tells you if the store
supports Unicode in that PT_LONG is called STORE_UNICODE_OK. See
http://support.microsoft.com/kb/884671 for information on that flag.
I'm not sure how MFCMAPI works exactly on that sort of thing, I haven't used
it in a long time, but in OutlookSpy (
www.dimastr.com) if you click on
IMessage you get ANSI properties and if you Shift+click on IMessage you get
the "W" versions of the properties that are the Unicode versions.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"Bert_Bert" wrote in message
...
Please help me to understand this:
I use Outlook2003+Exchange in OST mode.
I thought my store is in unicode but it rather appears it is not.
I use Czech language and +ěščřžýá* characters are kept ok.
But French characters like è are not kept in user defined fields.
As I look in MFCMAPI tool to the Exchange store i can see
1. default field such as Subject being PT_STRING8 and 1 byte corresponds
to one character
2. user defined field has the same PT_STRING8 and 1 byte per 1 character
è being displayed as simple e and coded also by ASC of single e
I would expect something like PT_UNICODE ???
The same problem I have when entering è character from clipboard and also
when importing it usind CDO 1.21 object model.
Please help me to understand what shall I do to turn on UNICODE in
Outlook.
Or any hint how this conceptually works. I have read from discussions that
I
have to have some flag turned on that the store supports UNICODE but what
shall I do in my case that Outlook supports it ?
It is annoying I thought that in the year 2008 we need not cope with such
stupid basic things that should work automatically.
The same problem I have if I connect secondary PST (to exclude the store
on
Exchange) that should according to Marketing promises "support unicode
from
version 2003" and still the same problem. data disapperaring - or to be
more
precise è turns to e.
:-(