[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: utf-8 input under X11
From: |
David Monniaux |
Subject: |
Re: utf-8 input under X11 |
Date: |
Fri, 26 Oct 2001 15:48:18 +0200 |
Le Mercredi 24 Octobre 2001 11:59, Gerd Moellmann a écrit :
> Could you please apply this patch, and see if the abort is hit?
Emacs no longer segfaults, but lots of characters are still
misinterpreted:
- OE, oe
- Euro sign
- some Russian letters (I temporarily switched my keyboard to Russian
to test it), but not all of them (!)
> *** xterm.c.~1.650.4.4.~ Wed Oct 24 11:15:47 2001
> --- xterm.c Wed Oct 24 11:55:42 2001
> ***************
> *** 10606,10615 ****
> modifiers);
> bufp->timestamp = event.xkey.time;
> bufp++;
> }
> -
> - count += nchars;
> - numchars -= nchars;
>
> if (keysym == NoSymbol)
> break;
> --- 10606,10616 ----
> modifiers);
> bufp->timestamp = event.xkey.time;
> bufp++;
> + ++count;
> + --numchars;
> + if (numchars < 0)
> + abort ();
> }
>
> if (keysym == NoSymbol)
> break;
--
David Monniaux http://www.di.ens.fr/~monniaux
Laboratoire d'informatique de l'École Normale Supérieure,
Paris, France
- Re: utf-8 input under X11, (continued)
- Re: utf-8 input under X11, Eli Zaretskii, 2001/10/23
- Re: utf-8 input under X11, David Monniaux, 2001/10/23
- Re: utf-8 input under X11, Eli Zaretskii, 2001/10/23
- Re: utf-8 input under X11, David Monniaux, 2001/10/23
- Re: utf-8 input under X11, Gerd Moellmann, 2001/10/23
- Re: utf-8 input under X11, David Monniaux, 2001/10/23
- Re: utf-8 input under X11, Eli Zaretskii, 2001/10/24
- Re: utf-8 input under X11, David Monniaux, 2001/10/24
- Re: utf-8 input under X11, Eli Zaretskii, 2001/10/24
- Re: utf-8 input under X11, Gerd Moellmann, 2001/10/24
- Re: utf-8 input under X11,
David Monniaux <=
- Re: utf-8 input under X11, Gerd Moellmann, 2001/10/26
- Re: utf-8 input under X11, Gerd Moellmann, 2001/10/26
- Re: utf-8 input under X11, David Monniaux, 2001/10/26
- Re: utf-8 input under X11, Gerd Moellmann, 2001/10/26
- Re: utf-8 input under X11, David Monniaux, 2001/10/26
- Re: utf-8 input under X11, Gerd Moellmann, 2001/10/26
- Re: utf-8 input under X11, David Monniaux, 2001/10/26
- Re: utf-8 input under X11, Gerd Moellmann, 2001/10/26
- Re: utf-8 input under X11, Gerd Moellmann, 2001/10/26
- Re: utf-8 input under X11, Eli Zaretskii, 2001/10/26