Bug#276316: vte: I encountered this bug

Mike Hommey Mike Hommey <mh@glandium.org>, 276316@bugs.debian.org
Mon, 25 Oct 2004 02:36:38 +0900


Package: vte
Followup-For: Bug #276316

I got a very easy to reproduce manifestation of this bug with apt-cache
in japanese locale.
Basically, running the following command line several times:
LANG=ja_JP.UTF-8 apt-cache show plop
will, even if you don't read japanese, show you that the output vary a
lot through time, repeating a lot itself.

]Sample output:
]W: パッケージ plop を見つけることがを見つけることができません
]E: パッE: パッケージが見つかりE: パッケージが見つかりません

It only happens when characters are written byte by byte in a language
that uses multi-bytes characters, such as japanese or korean. The number
of multi-bytes character is then important, thus making the bug more
likely to happen than on Egmont's first manifestations.

I tested the oneline patch from the gnome bugzilla, it fixes the issue
completely. Please seriously consider applying it.

Mike

PS: I don't know why this apt-cache error message is written byte by byte
while the rest is obviously not (since output doesn't get mixed up)

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)