Greg Haerr:

Win32 doesn't provide a way to specify text encoding, so
you'll have to force it in the GdText call in the MwExTextOut
function, which I think is in src/mwin/winuser.c or winfont.c

The editbox component source is microwindows/src/mwin/winlib/newedit.c that define neTextOut as TextOutW, function defined at 757 of microwindows/src/mwin/wingdi.c. This one, call MwExtTextOut with UC16 encoding.

I have modified this:

return MwExtTextOut(hdc, x, y, 0, NULL, lpszString, cbString, NULL, MWTF_UC16 );

with

return MwExtTextOut(hdc, x, y, 0, NULL, lpszString, cbString, NULL, MWTF_UTF8 );

Debugging, the function is called but the symbols are still wrong (the same as MWTF_UC16).

Regards, Cristian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to