in CEditFindReplaceImpl::FindTextSimple()
LPSTR lpch = (LPSTR)(lpsz + nLenFind);
char chSave = *lpch;
When _UNICODE is defined, this code cannot retrieve Japanese.
Therefore, it is necessary to do as follows.
LPTSTR lpch = (LPTSTR)(lpsz + nLenFind);
TCHAR chSave = *lpch;

You must be logged in to post a comment.