From owner-freebsd-questions@FreeBSD.ORG Sat Sep 17 12:37:01 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0259916A41F for ; Sat, 17 Sep 2005 12:37:01 +0000 (GMT) (envelope-from guru@Sisis.de) Received: from hunter.Sisis.de (mail.sisis.de [193.31.11.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A96343D46 for ; Sat, 17 Sep 2005 12:36:59 +0000 (GMT) (envelope-from guru@Sisis.de) Received: (from mail@localhost) by hunter.Sisis.de (8.8.8/8.8.8) id OAA13650 for ; Sat, 17 Sep 2005 14:35:47 +0200 (CEST) (envelope-from guru@Sisis.de) X-Authentication-Warning: hunter.Sisis.de: mail set sender to using -f Received: from hermes.sisis.de(193.31.10.38) by hunter.Sisis.de via smap (V2.1) id xma013644; Sat, 17 Sep 05 14:35:33 +0200 Received: from revolucion.Sisis.de (brecht.Sisis.de [193.31.10.34]) by hermes.sisis.de (8.8.8/8.8.8) with ESMTP id OAA01768 for ; Sat, 17 Sep 2005 14:36:45 +0200 (CEST) (envelope-from guru@Sisis.de) Received: by revolucion.Sisis.de (Postfix, from userid 500) id 1B0C31EE22; Sat, 17 Sep 2005 14:36:18 +0200 (CEST) Date: Sat, 17 Sep 2005 14:36:17 +0200 To: freebsd-questions@freebsd.org Message-ID: <20050917123617.GA3366@revolucion.Sisis.de> References: <20050914093131.GA4376@revolucion.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20050914093131.GA4376@revolucion.Sisis.de> User-Agent: Mutt/1.4i From: guru@Sisis.de (Matthias Apitz) Subject: Re: spanish chars in FreeBSD commands X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: guru@Sisis.de List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2005 12:37:01 -0000 El día miércoles, septiembre 14, 2005 a las 11:31:31 +0200, Matthias Apitz escribió: ... > they work in FreeBSD with Xorg as well but some FreeBSD commands > don't show the chars very well: > > $ cat espanol > áéíóñÁÉÍÓ¡¿ > $ od -c espanol > 0000000 341 351 355 363 361 301 311 315 323 241 277 \n > 0000014 > $ more espanol > > $ vi espanol > \xe1\xe9\xed\xf3\xf1\xc1\xc9\xcd\xd3\xa1\xbf > > and the 'sh' ignores them at all; I monitored with truss(1) that > the shell is reading them from STDIN but the chars are ignored, at > least not echoed. Any hints? it does work with the right LANG, for example: $ LANG=es_ES.ISO8859-1 sh $ echo ¿qué tal? ¿qué tal? $ matthias -- Matthias Apitz / Sisis Informationssysteme GmbH Gruenwalder Weg 28g / D-82041 Oberhaching Fon: ++49 89 / 61308-351, Fax: -399, Mobile ++49 170 4527211 http://www.sisis.de/