]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Debian bug #517535: we were unconditionally interpreting the
authorSimon Tatham <anakin@pobox.com>
Sat, 28 Feb 2009 16:52:42 +0000 (16:52 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 28 Feb 2009 16:52:42 +0000 (16:52 +0000)
commit99782a4066e7ca8cd9630db49bd002017c7a0895
tree4c599af7f67b4cc627338d6d3f1dabe4e801f9d6
parent031bfe129d8f7a8b9617eaf7680182ba4a7820e0
Debian bug #517535: we were unconditionally interpreting the
'string' field in a GdkEventKey structure as ISO-8859-1, which was
correct for GTK 1.2 but in 2.0 that field is encoded according to
the current C library locale. Hence, we now process that field by
converting it to UTF-8 via trips through both libc and libcharset,
and then let lpage_send() convert from UTF-8 back to whatever it's
supposed to actually go down the line in.

[originally from svn r8470]
unix/gtkwin.c