[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#273202: xterm: Chinese characters don't always line wrap



On Fri, Sep 24, 2004 at 05:00:18PM +0200, Andrew Moise wrote:
> Package: xterm
> Version: 4.3.0.dfsg.1-7
> Severity: normal
> 
>   If I cat right-line-wrap in an 80-character-wide xterm, then the second "z"
> goes on a separate line, obviously.  If I cat wrong-line-wrap, though (in a
> UTF-8 locale), then the two Chinese characters at the end are not placed at the
> end of the top line, and they're not line-wrapped to the line below; it seems
> that they (and some further characters) are silently dropped.  wrong-line-wrap
> displays correctly if you widen the xterm slightly (so that line wrap isn't an
> issue anymore).

It sounds as if xterm is using the wrong check for deciding if the characters
at the right-margin are printable.  If they're not printable, xterm's supposed
to ignore them.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Attachment: pgpWLgdFACXSF.pgp
Description: PGP signature


Reply to: