mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-02 03:40:36 -08:00
Fix non-English layout does not work
* src/pgtkterm.c (key_press_event): Use Vlocale_coding_system.
This commit is contained in:
parent
6c4349601c
commit
e7190d8bb2
1 changed files with 3 additions and 3 deletions
|
|
@ -5492,9 +5492,9 @@ key_press_event (GtkWidget * widget, GdkEvent * event, gpointer * user_data)
|
|||
{
|
||||
/* Decode the input data. */
|
||||
|
||||
/* The input should be decoded with `coding_system'
|
||||
which depends on which X*LookupString function
|
||||
we used just above and the locale. */
|
||||
/* The input should be decoded with locale `coding_system'. */
|
||||
if (!NILP (Vlocale_coding_system))
|
||||
coding_system = Vlocale_coding_system;
|
||||
setup_coding_system (coding_system, &coding);
|
||||
coding.src_multibyte = false;
|
||||
coding.dst_multibyte = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue