[PATCH 1/3] riched20: Use codepage in ME_ToUnicode. (try 2)
bunglehead at gmail.com
Wed Sep 4 11:13:33 CDT 2013
On 9/4/2013 07:17, Jactry Zeng wrote:
> - ME_EndToUnicode(unicode, wszText);
> + ME_EndToUnicode(unicode ? 1200 : CP_ACP, wszText);
It's still ugly to use magic numbers like that, in a similar situation I
had some time
ago I use ~0 to mark WCHAR data encoding that does need special handling.
Even with a value like ~0 it needs to be documented in code comments.
More information about the wine-devel