[PATCH 3/3] riched20: Add UTF8 support for EM_SETTEXTEX. (try 6)
Jactry Zeng
jactry92 at gmail.com
Fri Sep 13 06:53:47 CDT 2013
Hi Nikolay,
2013/9/13 Nikolay Sivov <bunglehead at gmail.com>
>
> On 9/13/2013 15:05, Jactry Zeng wrote:
>>
>> bUnicode = !bRtf && pStruct->codepage == CP_UNICODE;
>> + bUTF8 = (lParam && (!strncmp((char *)lParam, utf8_bom, 3)));
>
> What will happen if both of these are true? This needs a test with BOM
and 'codepage' set to 1200.
Thanks for your review.
The test showed that bUnicode have a higher priority that BOM.
I will try it again.
--
Regards,
Jactry Zeng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20130913/8c53f399/attachment.html>
More information about the wine-devel
mailing list