Re: od -t a to warn for non-ASCII

2006-02-02 Thread Paul Eggert
Ed Avis <[EMAIL PROTECTED]> writes: > I suggest that when 'od -t a' encounters the first high-bit-set > character in the input it should print a warning That sounds a bit strong. All other things being equal I'd rather not have behavior depend on POSIXLY_CORRECT. > If you don't want to do that,

od -t a to warn for non-ASCII

2006-02-01 Thread Ed Avis
If you run 'od -t a' then the high bit is silently stripped out of the input. This can cause a bit of confusion (especially when dealing with char 160 (non-breaking space) in ISO-8859-1 which strips down to a regular space...) I suggest that when 'od -t a' encounters the first high-bit-set c