From owner-freebsd-bugs Thu Jan 4 12:00:06 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA29240 for bugs-outgoing; Thu, 4 Jan 1996 12:00:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA29204 Thu, 4 Jan 1996 12:00:03 -0800 (PST) Date: Thu, 4 Jan 1996 12:00:03 -0800 (PST) Message-Id: <199601042000.MAA29204@freefall.freebsd.org> To: freebsd-bugs Cc: From: J Wunsch Subject: Re: bin/931: fmt strips 8bit characters (bad) Reply-To: J Wunsch Sender: owner-bugs@FreeBSD.ORG Precedence: bulk The following reply was made to PR bin/931; it has been noted by GNATS. From: J Wunsch To: schweikh@ito.uni-stuttgart.de Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/931: fmt strips 8bit characters (bad) Date: Thu, 4 Jan 1996 20:42:54 +0100 (MET) As schweikh@ito.uni-stuttgart.de wrote: > > fmt strips any characters for which isprint(3) returns false. > A Bad Thing (TM) for those of us using iso-latin character sets. Your fix is wrong. The correct fix was to use setlocale(), and it's already present in -current. For 2.0.5 (and presumably 2.1, too), ENABLE_STARTUP_LOCALE should have the same effect. (Of course, you need to set your LANG variable to something that's supporting ISO-8859-1.) -- 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. ;-)