Date: Sun, 15 Oct 1995 17:25:56 +0100 (MET) From: J Wunsch <j@uriah.heep.sax.de> To: ache@astral.msk.su (=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=) Cc: hackers@freefall.freebsd.org, kaleb@x.org Subject: Re: A couple problems in FreeBSD 2.1.0-950922-SNAP Message-ID: <199510151625.RAA21043@uriah.heep.sax.de> In-Reply-To: <EaZoIWmWO1@ache.dialup.demos.ru> from "=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=" at Oct 15, 95 06:45:39 pm
next in thread | previous in thread | raw e-mail | index | archive | help
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 <ctype.h> 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. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510151625.RAA21043>