Dmitry Timoshkov wrote:
"Jeff Latimer" lats@yless4u.com.au wrote:
The issue is that the client passes data using messaging or DDEML there is no method in the api to inform the server whether the data is Unicode or not. The only method I have determined is to use IsTextUnicode() but that is guessing. However, it looks like Windows guesses too.
Have you looked at the info returned DdeQueryConvInfo, particularly iCodePage in the conversation context?
No but it looks interesting. I will set up some tests and check it out.
Passing raw DDE messages should be out of interest, it's the application's problem.
DDE and DDEML are supposed to interchangeable. A DDE client can talk to a DDEML server and turnabout.
Can I get some advice on this as the existing code does need to be fixed.
Is there a bug you are trying to fix, or is that a hypothetical problem?
I was fixing a problem in winebrowser that was brought about by incorrect Unicode translation. I could not fix it on the client side because it broke DDE tests.