4 Sep
2013
4 Sep
'13
4:13 p.m.
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.