http://bugs.winehq.org/show_bug.cgi?id=6661
Dylan Smith dylan.ah.smith@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dylan.ah.smith@gmail.com Status|NEW |ASSIGNED
--- Comment #9 from Dylan Smith dylan.ah.smith@gmail.com 2009-01-16 19:54:35 --- The problem is that ascii richtext is being sent using the EM_SETTEXTEX message, but it is also using the unicode codepage (1200). It seems as if native richedit controls look at the initial bytes for the ascii string "{\rtf" or "{\urtf" regardless of which codepage is used, then determines that the string has an ascii encoding in the rich text format.
I sent a test case and a fix to wine-patches.
[1/2] richedit: Added test for detecting ascii rtf with unicode codepage. http://www.winehq.org/pipermail/wine-patches/2009-January/067834.html
[2/2] richedit: EM_SETTEXTEX detects ascii richtext with unicode codepage. (Fixes Bug 6661) http://www.winehq.org/pipermail/wine-patches/2009-January/067835.html