diff options
Diffstat (limited to 'win/tkWinKey.c')
-rw-r--r-- | win/tkWinKey.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinKey.c b/win/tkWinKey.c index 9aca1f2..ebd39e0 100644 --- a/win/tkWinKey.c +++ b/win/tkWinKey.c @@ -104,8 +104,8 @@ TkpGetString( if (keyEv->send_event == -1) { TkKeyEvent *ev = (TkKeyEvent *)keyEv; if (ev->nbytes > 0) { - Tcl_ExternalToUtfDString(TkWinGetKeyInputEncoding(), - ev->trans_chars, ev->nbytes, dsPtr); + Tcl_ExternalToUtfDStringEx(TkWinGetKeyInputEncoding(), + ev->trans_chars, ev->nbytes, TCL_ENCODING_NOCOMPLAIN, dsPtr); } } else if (keyEv->send_event == -3) { |