Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 1996 12:00:03 -0800 (PST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-bugs
Subject:   Re: bin/931: fmt strips 8bit characters (bad)
Message-ID:  <199601042000.MAA29204@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/931; it has been noted by GNATS.

From: J Wunsch <j@uriah.heep.sax.de>
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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601042000.MAA29204>