Subject: Re: bin/3693: fmt(1) filters out all chars > 128
To: Matthias Scheler <tron@lyssa.owl.de>
From: Alistair Crooks <azcb0@juno.uts.amdahl.com>
List: current-users
Date: 06/02/1997 03:25:01
> In article <199705311952.MAA03085@moria.ics.muni.cz>,
> 	Jaromir Dolecek <dolecek@moria.ics.muni.cz> writes:
> > ! 			if ((c < ' ' || ( c >= 0177 && c < 0177 + ' ' ) )
> > ! 				&& c != '\t') {
> 
> *shudder*
> 
> That's what "setlocale()" and "isprint()" were made for. Of course this
> would require PR "lib/3592" to be processed first.

An interim solution would be to use either:

	http://astro.nmsu.edu/~awatson/software/utftools-1.6.tar.gz

which is a collection of UTF-8 aware wc, fmt etc, or

	http://www.cs.berkeley.edu/~amc/Par/Par150.tar.gz	

which is a better formatter in general than fmt(1), and passes
through any 8-bit chars it finds (although it isn't UTF-aware).

Alistair