http://bugs.winehq.org/show_bug.cgi?id=11281
--- Comment #18 from Paul "TBBle" Hampson Paul.Hampson@Pobox.com 2009-04-25 21:53:02 --- (In reply to comment #17)
The definition of WM_SETTEXT takes a TCHAR*, which is ASCII in ASCII builds and UCS-2 in Unicode builds.
Sorry, that was crackful. It's local-charset in non-UNICODE builds, ie. based on codepage. SJIS in ja_JP.utf8 locale and US-ASCII in en_AU.utf8. That's why the test app only displays the starting text in ja_JP.utf8 locale, as expected.
Pasting works because the edit control appears to operate in Unicode even in a non-Unicode application.
I can't convince UIM to type into Wine either anymore on wine-1.1.20 (I thought it used to work...) so I can't actually test if this bug is fixed or not.