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

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



retitle 273202 xterm: unprintable multibyte characters not line-wrapped
tag 273202 + upstream
thanks

On Sat, Sep 25, 2004 at 10:46:14AM -0400, Thomas Dickey wrote:
> 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.

-- 
G. Branden Robinson                |      Why should I allow that same God
Debian GNU/Linux                   |      to tell me how to raise my kids,
branden@debian.org                 |      who had to drown His own?
http://people.debian.org/~branden/ |      -- Robert Green Ingersoll

Attachment: signature.asc
Description: Digital signature


Reply to: