Re: [PATCH 3/3] riched20: Add UTF8 support for EM_SETTEXTEX. (try 6)
13 Sep
2013
13 Sep
'13
11:29 a.m.
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.
13 Sep
13 Sep
11:53 a.m.
New subject: [PATCH 3/3] riched20: Add UTF8 support for EM_SETTEXTEX. (try 6)
Hi Nikolay, 2013/9/13 Nikolay Sivov <bunglehead(a)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
4478
Age (days ago)
4478
Last active (days ago)
1 comments
2 participants
participants (2)
-
Jactry Zeng -
Nikolay Sivov