2013/9/13 Alexandre Julliard <julliard@winehq.org>
>
> > @@ -3313,6 +3315,10 @@ LRESULT ME_HandleMessage(ME_TextEditor *editor, UINT msg, WPARAM wParam,
> >          len = lParam ? strlen((char *)lParam) : 0;
> >        }
> >      } else {
> > +      if(bUTF8) {
> > +        lParam = lParam + 3;
> > +        pStruct->codepage = CP_UTF8;
> > +      }
>
> That struct belongs to the caller, you can't change it.

Thank you for the review!
I have sent another try.

--
Regards,
Jactry Zeng