On 26 May 2014 06:39, Charly Dante <
dante...@gmail.com> wrote:
> Hi again,
>
> I tried now several things (including all the mentioned tipps) and I'm quite
> desperated already, because I just can't get that thing to work. To ensure
> that the problem is not related to such things like choosing the wrong
> length off a buffer, I provide a (very small) minimal example which already
> demonstrates my problems:
>
>
> char *buffer = "teststringüü";
> SendMessage(scite_hwnd, WM_SETTEXT, 0, (LPARAM)buffer);
>
>
> This simply doesn't work. The text in the Scite Control is set to
> "teststring" and then followed by two black boxes containing
> "xFC" and not the desired chars "üü". I also tried SCI_SETTEXT (= 2181), but
value. The UTF-8 encoding is two bytes C3BC. Is your locale UTF-8?