Search the web
Sign In
New User? Sign Up
outlook-dev · Outlook Development
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Setting recipients with non-ascii data   Message List  
Reply | Forward Message #27939 of 28048 |
RE: Setting recipients with non-ascii data

Whether you set the _A or _W flavor of a given property, the underlying message store provider must store only once instance of the property and should be able to return either _A or _W property depending on what the client requests.

MFCMAPI and OutlookSpy both happen to request the _A flavor.

 

From: outlook-dev@yahoogroups.com [mailto:outlook-dev@yahoogroups.com] On Behalf Of tgoetze
Sent: Friday, June 19, 2009 4:22 PM
To: outlook-dev@yahoogroups.com
Subject: Re: Setting recipients with non-ascii data

 




That was it (needed to use _W property).
I am not checking for Unicode support, but it is working....meaning now I can see the values as expected in Outlook.

However, it is interesting that using MFCMAPI does not allow the non-ASCII data to be shown (it shows ????), and the tag ends in 1E and is listed as a PT_STRING8. So, this makes sense as to why it shows ????, but it is unpexected since I set it as 1F and Outlook is happy with it.

-t

--- In outlook-dev@yahoogroups.com, "Ken Slovak" <kenslovak@...> wrote:
>
> Did you change the property tag you're looking at?
>
> If a string property tag ends with 0x1E it's a PT_STRING8 property, for
> Unicode you'd have a property tag ending with 0x1F (PT_UNICODE). You also
> obviously need a store that supports Unicode (PR_STORE_SUPPORT_MASK on the
> store would have the STORE_UNICODE_OK bit flag set.
>
> Ken Slovak
> Slovak Technical Services, Inc.



Sat Jun 20, 2009 6:51 pm

dimastr2001
Offline Offline
Send Email Send Email

Forward
Message #27939 of 28048 |
Expand Messages Author Sort by Date

I am able to add recipients when the data is ASCII, but when I attempted to change the code to handle more diverse values (e.g. Japanese display names), the...
tgoetze
Offline Send Email
Jun 19, 2009
12:40 pm

Did you change the property tag you're looking at? If a string property tag ends with 0x1E it's a PT_STRING8 property, for Unicode you'd have a property tag...
Ken Slovak
kenslovak2000
Offline Send Email
Jun 19, 2009
1:07 pm

That was it (needed to use _W property). I am not checking for Unicode support, but it is working....meaning now I can see the values as expected in Outlook. ...
tgoetze
Offline Send Email
Jun 20, 2009
12:48 am

I'm not sure about MFCMAPI, I haven't used it in many years, but in OutlookSpy you get the same thing. To open an OutlookSpy window for Unicode hold down the...
Ken Slovak
kenslovak2000
Offline Send Email
Jun 20, 2009
5:17 pm

Whether you set the _A or _W flavor of a given property, the underlying message store provider must store only once instance of the property and should be able...
Dmitry Streblechenko
dimastr2001
Offline Send Email
Jun 20, 2009
6:52 pm

You also need to explicitly set the _W flavor of the properties, i.e. PR_DISPLAY_NAME_W. Checking whether parent store actually supports Unicode...
Dmitry Streblechenko
dimastr2001
Offline Send Email
Jun 19, 2009
2:54 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help