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.