http://bugs.winehq.org/show_bug.cgi?id=13891
--- Comment #49 from Vincent Povirk madewokherd@gmail.com 2010-05-13 12:25:58 --- I believe we have two problems here:
1. winebrowser uses DdeInitializeW and then expects to get ansi data. This is backwards.
2. WDML_BuildExecuteCommand decides whether the server is unicode (and thus whether to do a conversion) by looking at the server's window AND the client's window. So if a client is ansi and a server is unicode, we never convert the data.
Changing the DdeInitializeW call in winebrowser to DdeInitializeA actually gives the correct result in both win98 and winxp mode, since we always get ansi data as winebrowser (now correctly) expects.