Bug#306539: This happens only in UTF-8 locales

Hongzheng Wang Hongzheng Wang <wanghz02@mails.tsinghua.edu.cn>, 306539@bugs.debian.org
Thu, 28 Apr 2005 13:22:35 +0800


Hello,

I tested other locales today and found that this happened only in UTF-8
locales.

First, I changed into a zh_CN.GBK locale.  Then I mkdired a dir tree
with names in chinese.  I changed into this dir tree and vim behaved
properly.  After exiting from vim, everything is OK.

Second, I changed into a zh_CN.UTF-8 locale.  I made a test like above
and the bug reported in my previous mail happened, that is, after
exiting from vim, the characters in gnome-terminal are displayed as
unrecognizable ones.

Second, I changed into a en_US.UTF-8 locale.  I made this test too.
After exiting, the characters are displayed properly but the computer
will `beep' as if it encountered some error.  I opened vim again and
typed `ctrl-z' to hang up vim temporally.  I found the characters had
been in a mass.

So I guess, this bug might happen only in UTF-8 locales.

Thank you.

-- 
Hongzheng Wang
Department of Electronic Engineering
Tsinghua University
Beijing 100084, China
Tel: (+86 10) 6279 6973