This converts the DDE-Callbackfunction to Unicode.
After days of winebrowser-hacking i turned it down to this clean code.
It uses the function IsTextUnicode instead of guessing.(IsTextUnicode is guessing too, but in a cleaner way)
---
programs/winebrowser/main.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winebrowser-Fix-unicode-recognition.txt
Type: text/x-patch
Size: 926 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090527/481a1440/attachment.bin>