<div dir="ltr">Hi Nikolay,<br>2013/9/13 Nikolay Sivov <<a href="mailto:bunglehead@gmail.com" target="_blank">bunglehead@gmail.com</a>><br>><br>> On 9/13/2013 15:05, Jactry Zeng wrote:<br>>><br>>>       bUnicode = !bRtf && pStruct->codepage == CP_UNICODE;<br>


>> +    bUTF8 = (lParam && (!strncmp((char *)lParam, utf8_bom, 3)));<br>><br>> What will happen if both of these are true? This needs a test with BOM and 'codepage' set to 1200.<br><br>Thanks for your review.<div>


The test showed that bUnicode have a higher priority that BOM. <br>I will try it again.<br><br><br>--<br>Regards,<br>Jactry Zeng</div></div>