]> asedeno.scripts.mit.edu Git - PuTTY_svn.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)
commit2f0eb8b089e43c7c9c8fe2d1f8354e8b3c0f1670
tree4c599af7f67b4cc627338d6d3f1dabe4e801f9d6
parentd22c253275de4aaa8689c5a3d5be25156c4e539f
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.

git-svn-id: http://svn.tartarus.org/sgt/putty@8470 cda61777-01e9-0310-a592-d414129be87e
unix/gtkwin.c