After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 90557 - Input string must be UNICODE string
Input string must be UNICODE string
Status: RESOLVED DUPLICATE of bug 78007
Product: gnome-terminal
Classification: Core
Component: general
2.0.x
Other Linux
: Normal enhancement
: ---
Assigned To: Havoc Pennington
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-08-12 15:04 UTC by Gediminas Bukauskas
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Gediminas Bukauskas 2002-08-12 15:04:58 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.
Comment 1 Luis Villa 2002-08-12 18:13:32 UTC
What terminal library are you using, Gediminas? This is most likely a
duplicate of bug 78007 if you are using libzvt.
Comment 2 Luis Villa 2002-08-13 14:04:04 UTC
As per email, reporter uses zvt so this is a 78007 duplicate.
Comment 3 Luis Villa 2002-08-13 14:05:03 UTC

*** This bug has been marked as a duplicate of 78007 ***
Comment 4 Gediminas Bukauskas 2002-08-13 14:16:35 UTC
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.