From owner-freebsd-stable@freebsd.org Tue Jan 5 12:39:18 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4449FA63A64 for ; Tue, 5 Jan 2016 12:39:18 +0000 (UTC) (envelope-from sthaug@nethelp.no) Received: from bizet.nethelp.no (bizet.nethelp.no [195.1.209.33]) by mx1.freebsd.org (Postfix) with SMTP id 6B39F1542 for ; Tue, 5 Jan 2016 12:39:16 +0000 (UTC) (envelope-from sthaug@nethelp.no) Received: (qmail 85455 invoked from network); 5 Jan 2016 12:32:34 -0000 Received: from bizet.nethelp.no (HELO localhost) (195.1.209.33) by bizet.nethelp.no with SMTP; 5 Jan 2016 12:32:34 -0000 Date: Tue, 05 Jan 2016 13:32:34 +0100 (CET) Message-Id: <20160105.133234.74670504.sthaug@nethelp.no> To: stableuser@larseighner.com Cc: freebsd-stable@freebsd.org Subject: Re: Can I get an ISO-8859-1 system back From: sthaug@nethelp.no In-Reply-To: References: X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2016 12:39:18 -0000 > I upgraded from 9.? to 10.2. I used a custom kernel to avoid vt and r= aster = > fonts in sc. I updated as many ports as would build. > = > Now I cannot find an editor that will display my files with accent = > characters correctly. I know the files are still iso-8859-1 because t= hey = > are the same size they were and when I cat them, they have the right = > characters in them. This also shows that my term (cons25l1) can displ= ay = > the characters correctly. But joe, joe2, ee, and pico-alpine seem to = > convert them to some kind of UTF mess, with two bytes which display a= s grey = > blocks. > = > I have tried using LC_ALL and LANG as en_US.iso-8859-1 in .login_conf= , and = > unsetting them, I have tried several screen maps. I use "setenv LC_CTYPE no_NO.ISO8859-1" in my .cshrc (yes, I still use tcsh), and don't set LANG at all, on my 10.2 systems. This works like a= charm - I can display my Norwegian characters (=E6=F8=E5) both on the c= ommand line and for instance in vi etc. No UTF here. Not at all sure this works with VGA characters though - I mainly use remote login via ssh. Steinar Haug, Nethelp consulting, sthaug@nethelp.no