Debian bug #517535: we were unconditionally interpreting the
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 28 Feb 2009 16:52:42 +0000 (16:52 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 28 Feb 2009 16:52:42 +0000 (16:52 +0000)
commit6d00e1d1dabe0ee70be5010c90f4584abd0b0532
tree4c599af7f67b4cc627338d6d3f1dabe4e801f9d6
parent90db31b263b33b2b31b077752cd01e668b304fd7
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: svn://svn.tartarus.org/sgt/putty@8470 cda61777-01e9-0310-a592-d414129be87e
unix/gtkwin.c