From owner-freebsd-questions Mon Mar 4 00:40:02 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA12467 for questions-outgoing; Mon, 4 Mar 1996 00:40:02 -0800 (PST) Received: from gate.leissner.se (gate.leissner.se [193.45.192.34]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id AAA12388 for ; Mon, 4 Mar 1996 00:38:25 -0800 (PST) Received: from leissner.se (nuucp@localhost) by gate.leissner.se (8.6.9/8.6.9) with UUCP id JAA18066 for freefall.freebsd.org!questions; Mon, 4 Mar 1996 09:40:36 +0100 Received: from lda.leissner.se by lda.leissner.se id aa09508; 4 Mar 96 9:38 SNT Message-Id: <2.2.32.19960304083853.006feab0@lda> X-Sender: pol@lda X-Mailer: Windows Eudora Pro Version 2.2 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 04 Mar 1996 09:38:53 +0100 To: questions@freefall.freebsd.org From: Peter Olsson Subject: Re: 8bit clean vi? Sender: owner-questions@FreeBSD.ORG Precedence: bulk >>how do I manage to get the iso8859-1 characters displayed while working >>with vi. All I get is the hex-representation of the characters which >>looks not that nice.... > >Use locale. > >$ env LANG=de_DE.ISO_8859-1 vi > >or > >$ LANG=de_DE.ISO_8859-1; export LANG; vi > > >Gru Wolfram I tried this (with sv_SE.ISO_8859-1 and keymaps swedish.iso or swedish.cp850) and it doesn't work. The best results are (of course) when using LANG together with swedish.iso. Then our national characters are at least the same in vi as on the commandline and no hexcodes. But they are Greek alphabet instead of Swedish. Rather useless. Therefore my little vi-hack. But if there is a better way, like this, that works, I'd be very happy to hear about it. Peter Olsson pol@leissner.se