From owner-freebsd-questions Mon Apr 8 7: 6:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from foo31-146.visit.se (foo31-146.visit.se [62.119.31.146]) by hub.freebsd.org (Postfix) with ESMTP id 99D7C37B419 for ; Mon, 8 Apr 2002 07:06:12 -0700 (PDT) Received: (from martin@localhost) by foo31-146.visit.se (8.11.6/8.11.6) id g38E68m00810; Mon, 8 Apr 2002 16:06:08 +0200 (CEST) (envelope-from martin) Date: Mon, 8 Apr 2002 16:06:08 +0200 From: Martin Karlsson To: Jesper Gertz Cc: freebsd-questions@FreeBSD.ORG Subject: Re: 4.5 and danish characters Message-ID: <20020408140608.GA655@foo31-146.visit.se> Mail-Followup-To: Martin Karlsson , Jesper Gertz , freebsd-questions@FreeBSD.ORG References: <20020408123749.PMHH26334.fepE.post.tele.dk@fepZ.im.tele.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20020408123749.PMHH26334.fepE.post.tele.dk@fepZ.im.tele.dk> User-Agent: Mutt/1.3.28i X-PGP-Keyid: 0x9C924660 X-PGP-Fingerprint: 5970 BE22 2C33 4D8F 53FD 7E34 66FF 9332 9C92 4660 X-Editor: Vim http://www.vim.org/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello Jesper, * Jesper Gertz [2002-04-08 14.37 +0200]: > I can't get vi an vim to accept danish characters æ,ø and å > > At the same time I don't have any problems by typing æ,ø and å in the ee editor. How about on the console, or in an xterm? Can you type those characters there? > I have installed the X-user distribution set, and I have pointed at danish keyboard layout in Sysinstall. You may also want to set export LC_CTYPE=da_DK.ISO8859-1 (or -15 for Euro) in a sh-style shell, or setenv LC_CTYPE da_DK.ISO8859-1 (or -15) in a csh-style shell in your shells environment file (often .login or .profile). Oh, and make sure that you actually use iso or iso15 fonts; I have these lines in my /etc/rc.conf: font8x14="iso15-8x14" font8x16="iso15-8x16" font8x8="iso15-8x8" HTH and HAND -- Martin | PGP/GPG: | "Do not trust me: Karlsson | 9C924660 | I always lie." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message