From owner-freebsd-hackers Sun Oct 15 09:26:47 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA00978 for hackers-outgoing; Sun, 15 Oct 1995 09:26:47 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id JAA00973 for ; Sun, 15 Oct 1995 09:26:41 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id RAA26341; Sun, 15 Oct 1995 17:26:33 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id RAA09523; Sun, 15 Oct 1995 17:26:33 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id RAA21043; Sun, 15 Oct 1995 17:25:57 +0100 From: J Wunsch Message-Id: <199510151625.RAA21043@uriah.heep.sax.de> Subject: Re: A couple problems in FreeBSD 2.1.0-950922-SNAP To: ache@astral.msk.su (=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=) Date: Sun, 15 Oct 1995 17:25:56 +0100 (MET) Cc: hackers@freefall.freebsd.org, kaleb@x.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=" at Oct 15, 95 06:45:39 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 772 Sender: owner-hackers@FreeBSD.org Precedence: bulk As =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= wrote: > > >If I create a file that has extended ASCII (ISO8859-1) characters in the > >name, ls always substitues a '?' for the non-ASCII characters. Note > >that ls on, e.g. SVR4, does not do this > > Did you setenv ENABLE_STARTUP_LOCALE before calling ls? > See environ(7) (-current). IMHO, the base utilities that use should properly initialize the locale instead of relying on that hack. (The hack is useful to force programs that don't like to handle locale's, but base utilities of the system are expected to do it right theirselves.) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)