From owner-freebsd-questions@FreeBSD.ORG Wed Jul 17 20:57:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9ADC1178 for ; Wed, 17 Jul 2013 20:57:37 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 60A34B3B for ; Wed, 17 Jul 2013 20:57:37 +0000 (UTC) Received: from r56.edvax.de (port-92-195-92-77.dynamic.qsc.de [92.195.92.77]) by mx01.qsc.de (Postfix) with ESMTP id 38CD73C7B4; Wed, 17 Jul 2013 22:57:29 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r6HKvYIs001999; Wed, 17 Jul 2013 22:57:34 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 17 Jul 2013 22:57:34 +0200 From: Polytropon To: Elimar Riesebieter Subject: Re: LC_CTYPE=fr_FR.ISO8859-1 with xterm - still French accented characters are corrupted Message-Id: <20130717225734.4afc1a35.freebsd@edvax.de> In-Reply-To: <20130717133853.GB8391@baumbart.home.lxtec.de> References: <201307171214.r6HCELjV058010@mech-cluster241.men.bris.ac.uk> <20130717133853.GB8391@baumbart.home.lxtec.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 20:57:37 -0000 On Wed, 17 Jul 2013 15:38:53 +0200, Elimar Riesebieter wrote: > * Anton Shterenlikht [2013-07-17 13:14 +0100]: > > > I tried, in tcsh: > > > > % setenv |grep FR > > XTERM_LOCALE=fr_FR.ISO8859-1 > > LC_CTYPE=fr_FR.ISO8859-1 > > > > but the accented French characters are corrupted, e.g. in > > /usr/ports/french/aster/pkg-descr. > > > > I built xterm with > > > > % make -C /usr/ports/x11/xterm showconfig > > ===> The following configuration options are available for xterm-296: > > 256COLOR=on: Enable 256-color support > > DABBREV=off: Enable support for dabbrev-expand > > DECTERM=off: Enable DECterm Locator support > > GNOME=off: GNOME desktop environment support > > LUIT=on: Use LUIT for locale convertion from/to UTF-8 > > PCRE=on: Use Perl Compatible Regular Expressions > > SIXEL=on: Enable Sixel graphics support > > WCHAR=on: Enable wide-character support > > ===> Use 'make config' to modify these settings > > > > I usually can read russian with either > > ru_RU.KOI8-R or en_US.UTF-8 in xterm, so I think > > the xterm is set up correctly to view 8-bit characters. > > Doesn't fr_FR.UTF8 work? That probably won't matter. The characters in that file are normal 1-byte characters (ISO), not 2-byte ones (UTF-8). I have built xterm with no special options and can see them properly. For comparison: % echo $XTERM_LOCALE en_US.ISO8859-1 % echo $LC_CTYPE de_DE.ISO8859-1 % make -C /usr/ports/x11/xterm showconfig ===> The following configuration options are available for xterm-282: DABBREV=off: Enable support for dabbrev-expand DECTERM=off: Enable DECterm Locator support GNOME=off: GNOME desktop environment support LUIT=on: Use LUIT for locale convertion from/to UTF-8 PCRE=off: Use Perl Compatible Regular Expressions WCHAR=on: Enable wide-character support ===> Use 'make config' to modify these settings I assume you have all neccessary _fonts_ installed? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...