From owner-freebsd-questions Mon Sep 13 15:35:43 1999 Delivered-To: freebsd-questions@freebsd.org Received: from news-ma.rhein-neckar.de (news-ma.rhein-neckar.de [193.197.90.3]) by hub.freebsd.org (Postfix) with ESMTP id 2037614F4E for ; Mon, 13 Sep 1999 15:35:24 -0700 (PDT) (envelope-from bigeye.rhein-neckar.de!naddy@mips.rhein-neckar.de) Received: from mips.rhein-neckar.de (uucp@localhost) by news-ma.rhein-neckar.de (8.8.8/8.8.8) with bsmtp id AAA08487 for freebsd-questions@freebsd.org; Tue, 14 Sep 1999 00:35:13 +0200 (CEST) (envelope-from bigeye.rhein-neckar.de!naddy@mips.rhein-neckar.de) Received: by mips.rhein-neckar.de id m11QdOM-000WyXC (Debian Smail-3.2.0.101 1997-Dec-17 #2); Mon, 13 Sep 1999 23:12:02 +0200 (CEST) From: naddy@mips.rhein-neckar.de (Christian Weisgerber) Subject: Re: vi and characters Date: 13 Sep 1999 23:15:20 +0200 Message-ID: <7rjph8$22lt$1@bigeye.rhein-neckar.de> References: <19990913071207.BD52839078@mail.ettnet.se> To: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thomas Widlundh wrote: > On another box I have FreeBSD 3.1. I'm learning it slowly. I did manage > to get these swedish characters to > work in the console and xterm. I'm using AfterStep. > But these swedish characters don't work in vi. There are instead > characters like \xe5, \xd6 and so on. You need to tell applications that in your locale, there are printable characters at those code positions. Try setting LANG=en_US.ISO_8859-1 in your environment. Works for me. See /usr/share/locale/ for other supported locales. sv_SE.ISO_8859-1 might be of particular interest to you, if you also prefer to have some programs talk Swedish to you. -- Christian "naddy" Weisgerber naddy@mips.rhein-neckar.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message