GNOME Bugzilla – Bug 90557
Input string must be UNICODE string
Last modified: 2004-12-22 21:47:04 UTC
I am using lt_LT.UTF-8 locale. All characters with codes higher than 7F are invalid and I have to use xterminal instead. Bug source: onKeyPress event stores input characters as plain sequence of bytes (you should use wide string or UTF-8 encoded string). This error must be fixed in 3 places, I thing: GTK+ should expand its data types with wchar (2 or 4 bytes), new event "Key click" should be introduced (raise it after user presses and releases key); this evend should report right UNICODE value of wchar type); use new XLib functions to fetch a value, character input should be attached to the new event; user input should be assembled as whar* or UTF-8 encoded string.
What terminal library are you using, Gediminas? This is most likely a duplicate of bug 78007 if you are using libzvt.
As per email, reporter uses zvt so this is a 78007 duplicate.
*** This bug has been marked as a duplicate of 78007 ***
I have downloaded all GNOME2 tarballs, so is last - libzvt is v2.0.1. I have read gnome-terminal source code: there is uncorrect assign from integer to gchar[] there (A caron results to 1B1 key code, after assign it becames B1). Look at the keypress event procedure.