Bug#236393: marked as done (vim doesn't display characters >U+FFFF)

Debian Bug Tracking System owner@bugs.debian.org
Sun, 17 Apr 2005 14:48:16 -0700


Your message dated Sun, 17 Apr 2005 23:43:25 +0200
with message-id <20050417214325.GA22530@fistandantilus.takhisis.org>
and subject line vim doesn't display high unicode characters
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; 6 Mar 2004 01:26:49 +0000
>From root@schmorp.de Fri Mar 05 17:26:49 2004
Return-path: <root@schmorp.de>
Received: from islay.mach.uni-karlsruhe.de (mailout.schmorp.de) [129.13.162.92] (schmorp)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AzQaW-0003Cr-00; Fri, 05 Mar 2004 17:26:48 -0800
Received: from [10.0.0.1] (helo=cerebro.laendle)
	by mailout.schmorp.de with esmtp (Exim 4.30)
	id 1AzQaT-0006gL-Vn; Sat, 06 Mar 2004 02:26:45 +0100
Received: from root by cerebro.laendle with local (Exim 4.30)
	id 1AzQaT-0001qG-T3; Sat, 06 Mar 2004 02:26:45 +0100
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="UTF-8"
From: Marc Lehmann <debian-reportbug@plan9.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: vim doesn't display characters >U+FFFF
X-Mailer: reportbug 2.48
Date: Sat, 06 Mar 2004 02:26:45 +0100
Message-Id: <E1AzQaT-0001qG-T3.pgcc-forever-2004-03-06-02-26-45@cerebro.laendle>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_05 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.5 required=4.0 tests=BODY_8BITS,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_05
X-Spam-Level: 

Package: vim
Version: 1:6.2-149+1
Severity: minor

I have the following steting sin my .vimrc:

   set termencoding=utf-8
   set encoding=utf-8

Which generally works with characters <U+10000, but characters above
the 16 bit boundary (for example this test-sentence: 𐌼𐌰𐌲 πŒ²πŒ»πŒ΄πƒ πŒΉΜˆπ„πŒ°πŒ½, 𐌽𐌹 πŒΌπŒΉπƒ π…πŒΏ
𐌽𐌳𐌰𐌽 πŒ±π‚πŒΉπŒ²πŒ²πŒΉπŒΈ) are shown as (on my screen) blue "?"-signs.

When displaying texts containing characters that cannot be represented
in the terminal's encoding, vim uses the same blue "?" character as
replacement, so I guess that vim somehow thinks that utf-8 terminals
cannot represent charecters >U+FFFF.

Storage and editing works, though, so this is just a display problem.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (700, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.24
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8

Versions of packages vim depends on:
ii  dpkg                      1.10.18        Package maintenance system for Deb
hi  libc6                     2.3.2.ds1-11   GNU C Library: Shared libraries an
ii  libgpmg1                  1.19.6-12.1    General Purpose Mouse Library [lib
ii  libncurses5               5.3.20030719-5 Shared libraries for terminal hand

-- debconf-show failed


---------------------------------------
Received: (at 236393-done) by bugs.debian.org; 17 Apr 2005 21:44:31 +0000
>From zack@bononia.it Sun Apr 17 14:44:31 2005
Return-path: <zack@bononia.it>
Received: from ms003msg.fastwebnet.it [213.140.2.42] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DNHZ8-0007iB-00; Sun, 17 Apr 2005 14:44:31 -0700
Received: from fistandantilus.takhisis.org (37.10.140.106) by ms003msg.fastwebnet.it (7.2.052.3)
        id 41FFB1A4011719B8; Sun, 17 Apr 2005 23:44:00 +0200
Received: by fistandantilus.takhisis.org (Postfix, from userid 3148)
	id 85EBD274134; Sun, 17 Apr 2005 23:43:25 +0200 (CEST)
Date: Sun, 17 Apr 2005 23:43:25 +0200
From: Stefano Zacchiroli <zack@debian.org>
To: 236393-submitter@bugs.debian.org, 236393@bugs.debian.org
Cc: 236393-done@bugs.debian.org, 261164-done@bugs.debian.org
Subject: Re: vim doesn't display high unicode characters
Message-ID: <20050417214325.GA22530@fistandantilus.takhisis.org>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="RnlQjJ0d97Da+TV1"
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Delivered-To: 236393-done@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: 
X-CrossAssassin-Score: 2


--RnlQjJ0d97Da+TV1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Marc Lehmann <debian-reportbug@plan9.de> wrote
> vim apperently doesn't display high unicode characters (i.e. characters
> > 65535). while it internally handles them correctly, it always outputs
> a coloured "?" (i.e. the same as when displaying a character not in the
> terminals encoding).

This is not a bug, but the documenter behaviour of vim. Quoting from
'help unicode':

  In the file and buffer the full range of Unicode characters can be
  used (31 bits).  However, displaying only works for 16 bit characters,
  and only for the characters present in the selected font.

I'm thus closing the bug (and #261164, submitted by you as well, merged
with #236393).

Cheers.

--=20
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-

--RnlQjJ0d97Da+TV1
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFCYth91cqbBPLEI7wRAgDhAJ0Z+mbFDD8hM69dlRFjWtYbTa907ACdHdlK
ByzTaq7d/OgwLIIp2neCfWo=
=UJGN
-----END PGP SIGNATURE-----

--RnlQjJ0d97Da+TV1--