From owner-freebsd-questions Thu Dec 11 01:50:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA26113 for questions-outgoing; Thu, 11 Dec 1997 01:50:23 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id BAA25687 for ; Thu, 11 Dec 1997 01:46:42 -0800 (PST) (envelope-from jose@we.lc.ehu.es) Received: from we.lc.ehu.es by polaris.we.lc.ehu.es (SMI-8.6/SMI-SVR4) id KAA10486; Thu, 11 Dec 1997 10:44:54 +0100 Message-ID: <348FB609.AE23FC54@we.lc.ehu.es> Date: Thu, 11 Dec 1997 10:44:41 +0100 From: "Jose M. Alcaide" Organization: Universidad del Pais Vasco - Dpto. de Electricidad y Electronica X-Mailer: Mozilla 4.04 [en] (X11; I; SunOS 5.5.1 sun4u) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Re: International characters in vi are displayed as hex? 2.2.5-RELEASE Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Peter Olsson wrote: > > 16:36 1997-12-09 +0200, Ruslan Ermilov wrote: > >Once Peter Olsson wrote: > >> In 2.2.5-RELEASE vi displays international characters as hex. > >> > >> This worked fine in 2.1.0 after I set the right country-maps. > >> I don't remember if it worked fine in 2.2.1 and/or 2.2.2. > > > >Did you set your LANG= environment variable properly? > > I think so: LANG=sv_SE.ISO_8859-1; export LANG > > This (and setting right iso-fonts in sysconfig/rc.conf) was what fixed > this problem in 2.1.0 but it seems to have lost its effect now. > I confirm that. In 2.2.1 and 2.2.2 vi displayed ISO characters correctly, but this fails in 2.2.5. In fact, the setting of the LANG environment variable was not needed in 2.2.1 and 2.2.2. I have just set LANG=es_ES.ISO_8859-1, and now vi displays messages in Spanish, but ISO chars sre still displayed in hex. --JM ----------------------------------------------------------------------- Jose M. Alcaide | mailto:jose@we.lc.ehu.es Universidad del Pais Vasco | http://www.we.lc.ehu.es/~jose Dpto. de Electricidad y Electronica | Facultad de Ciencias - Campus de Lejona | Tel.: +34-4-4647700 x2624 48940 Lejona (Vizcaya) - SPAIN | Fax: +34-4-4858139 ----------------------------------------------------------------------- "Go ahead... make my day." - H. Callahan