Bug#167884: marked as done (vim: Vim display a line badly that contains character codes > 128)

Debian Bug Tracking System owner@bugs.debian.org
Tue, 15 Mar 2005 23:18:20 -0800


Your message dated Wed, 16 Mar 2005 08:04:00 +0100
with message-id <200503160804.03293.pierre.habouzit@m4x.org>
and subject line Here's a further example
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 5 Nov 2002 15:01:42 +0000
>From gpk@gpk.homeunix.net Tue Nov 05 09:01:42 2002
Return-path: <gpk@gpk.homeunix.net>
Received: from pool-138-89-20-67.mad.east.verizon.net (gpk.homeunix.net) [138.89.20.67] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 1895D4-0002bR-00; Tue, 05 Nov 2002 09:01:42 -0600
Received: from gpk by gpk.homeunix.net with local (Exim 3.36 #1 (Debian))
	id 1895Ca-0000sI-00; Tue, 05 Nov 2002 10:01:12 -0500
From: Greg Kochanski <gpk@gpk.homeunix.net>
Subject: vim: Vim display a line badly that contains character codes > 128
To: submit@bugs.debian.org
X-Mailer: bug 3.3.10.2
Message-Id: <E1895Ca-0000sI-00@gpk.homeunix.net>
Date: Tue, 05 Nov 2002 10:01:12 -0500
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=0.7 required=5.0
	tests=GAPPY_TEXT,SPAM_PHRASE_00_01
	version=2.41
X-Spam-Level: 

Package: vim
Version: 6.1.048-1
Severity: normal
The following file (uuencoded) displays very badly.
It has two characters whose codes are 351 (they are French accented "e"),
but those characters mess up the display of the entire remainder of
the line (it disappears).

The file looks like this when catted:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
University, 3600 University St., Montr
for the receipt of applications and letters of recommendation is November

but really contains these characters:
0000000   x   x   x   x   x   x   x   x   x   x   x   x   x   x   x   x
*
0000100   x   x   x  \n   U   n   i   v   e   r   s   i   t   y   ,
0000120   3   6   0   0       U   n   i   v   e   r   s   i   t   y
0000140   S   t   .   ,       M   o   n   t   r 351   a   l   ,       Q
0000160   u 351   b   e   c   ,       C   a   n   a   d   a   ,       H
0000200   3   A       2   T   8   .       T   h   e       d   e   a   d
0000220   l   i   n   e  \n   f   o   r       t   h   e       r   e   c
0000240   e   i   p   t       o   f       a   p   p   l   i   c   a   t
0000260   i   o   n   s       a   n   d       l   e   t   t   e   r   s
0000300       o   f       r   e   c   o   m   m   e   n   d   a   t   i
0000320   o   n       i   s       N   o   v   e   m   b   e   r  \n
0000337


UUENCODED FILE:
begin 644 foo
M>'AX>'AX>'AX>'AX>'AX>'AX>'AX>'AX>'AX>'AX>'AX>'AX>'AX>'AX>'AX
M>'AX>'AX>'AX>'AX>'AX>'AX>'AX>`I5;FEV97)S:71Y+"`S-C`P(%5N:79E
M<G-I='D@4W0N+"!-;VYT<NEA;"P@477I8F5C+"!#86YA9&$L($@S02`R5#@N
M(%1H92!D96%D;&EN90IF;W(@=&AE(')E8V5I<'0@;V8@87!P;&EC871I;VYS
K(&%N9"!L971T97)S(&]F(')E8V]M;65N9&%T:6]N(&ES($YO=F5M8F5R"@``
`
end



-- System Information
Debian Release: testing/unstable
Kernel Version: Linux gpk 2.4.19 #21 Fri Oct 25 21:15:55 EDT 2002 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz GenuineIntel GNU/Linux

Versions of the packages vim depends on:
ii  dpkg           1.10.4         Package maintenance system for Debian
ii  libc6          2.2.5-14.3     GNU C Library: Shared libraries and Timezone
ii  libgpmg1       1.19.6-12      General Purpose Mouse Library [libc6]
ii  libncurses5    5.2.20020112a- Shared libraries for terminal handling

---------------------------------------
Received: (at 167884-close) by bugs.debian.org; 16 Mar 2005 07:04:23 +0000
>From pierre.habouzit@m4x.org Tue Mar 15 23:04:23 2005
Return-path: <pierre.habouzit@m4x.org>
Received: from mx1.polytechnique.org [129.104.30.34] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DBSZq-0002c2-00; Tue, 15 Mar 2005 23:04:23 -0800
Received: from hades.madism.org (olympe.madism.org [82.225.205.10])
	(using TLSv1 with cipher RC4-MD5 (128/128 bits))
	(No client certificate requested)
	by ssl.polytechnique.org (Postfix) with ESMTP id 75C853319E;
	Wed, 16 Mar 2005 08:04:19 +0100 (CET)
From: Pierre Habouzit <pierre.habouzit@m4x.org>
Organization: Polytechnique.org
To: gpk@kochanski.org
Subject: Re: Here's a further example
Date: Wed, 16 Mar 2005 08:04:00 +0100
User-Agent: KMail/1.8
Cc: 167884-close@bugs.debian.org
References: <3DC7F4D8.9000808@gpk.homeunix.net> <20050315084013.GA31717@amaretto.inria.fr> <4237862A.9070705@gpk.wftp.org>
In-Reply-To: <4237862A.9070705@gpk.wftp.org>
X-Face: $(^e[V4D-[`f2EmMGz@fgWK!e.B~2g.{08lKPU(nc1J~z\4B>*JEVq:E]7G-\6$Ycr4<;Z!|VY6Grt]+RsS$IMV)f>2)M="tY:ZPcU;&%it2D81X^kNya0=L]"vZmLP+UmKhgq+u*\.dJ8G!N&=EvlD
MIME-Version: 1.0
Content-Type: multipart/signed;
  boundary="nextPart1229177.R07HjxQNGa";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200503160804.03293.pierre.habouzit@m4x.org>
X-Virus-Scanned: by amavisd-new-20030616-p10 at Polytechnique.org
X-DCC--Metrics: djali 32702; Body=1 Fuz1=1 Fuz2=1
X-Org-Mail: pierre.habouzit.2000@polytechnique.org
Delivered-To: 167884-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

--nextPart1229177.R07HjxQNGa
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Le Mer 16 Mars 2005 02:04, Greg Kochanski a =E9crit :
> Pierre Habouzit wrote:
> > On Tue, Nov 05, 2002 at 11:42:00AM -0500, Greg Kochanski wrote:
> >>This is a screen shot of Vim on text containing the
> >>previously included file.
> >>The screen is pretty well trashed in the vicinity of the
> >>non-ascii characters.
> >
> >   I really believe the problem is not with vim, but with your
> > locales.
> >
> >   1/ since the bug is really old, do you still have the problem ?
> >   2/ if yes, what does 'locale' says on your system ?
> >
> >   if the answer to (2) is that all your LC_ vars use us-ascii, then
> > reconsider using some iso8859-1 charset + installing xfree86
> > transcoded fonts.
>
> I dug up the file and tried it.   With my current locale (POSIX),
> it works OK.   Specifically, it can't display all the characters,
> byt the missing ones are neatly represented by single boxes.
>
> When I sent the bug report, with whatever locale I had then,
> one of the non-ascii characters would cause major confusion.
>
> So, No more problem.

nice.
thank you !
=2D-=20
=B7O=B7  Pierre Habouzit
=B7=B7O
OOO                                                http://www.madism.org

--nextPart1229177.R07HjxQNGa
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBCN9pjvGr7W6HudhwRAimOAJ9rfxf72ko/xzcdrNnmWdzVme+yiQCfT2I/
+jRsTkV+6i/m4iIiCBVcUvk=
=r1+A
-----END PGP SIGNATURE-----

--nextPart1229177.R07HjxQNGa--