Daniel Jacobowitz <[EMAIL PROTECTED]>:

> > I may have committed a fix for the same bug today. Please check.
> 
> Indeed you did, and it's a similar fix.  This is what I originally
> did:
> 
> @@ -206,18 +206,11 @@
> -    for (; (k = mbrtowc (&wc, s, n, &term->ps)) >= 0; s += k, n -= k)
> +    for (; n > 0 && (k = mbrtowc (&wc, s, n, &term->ps)) >= 0; s += k, n -= k)
> 
> Your patch seems rather more complete; should I use that instead?

Yes, I think so.

> > BTW: now that we use glibc's UTF8 support, what locale should
> > we use? I've found en_IN.UTF-8 (in my /etc/locale.gen) to work,
> > but I don't even know what that means.
> 
> Indian, I think...

I have asked before, but never received a satisfactory answer, what
you should do if you want a "standard" UTF-8 locale. Probably there
should be something like "C.UTF-8".

Edmund


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to