[Top][All Lists]

[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 17:12:27 +0200

Le Vendredi 26 Octobre 2001 16:36, Gerd Moellmann a écrit :
> > That it no longer crashes with this patch could mean that the
> > number of chars `nchars' returned by decode_coding above the code
> > block in the patch is different from the number of chars put into
> > the input buffer in the for loop, which is guided by the `nbytes'
> > returned from decode_coding.
> We could test that assumption with the patch below.  It should
> abort if `nchars' is really different from the number of characters
> stored in the input buffer. 

It does abort indeed on EuroSign. On some other characters (OE, oe), 
it does not abort, but gives incorrect input.

David Monniaux            http://www.di.ens.fr/~monniaux
Laboratoire d'informatique de l'École Normale Supérieure,
Paris, France

reply via email to

[Prev in Thread] Current Thread [Next in Thread]