(Cross-posting to MVS-OE) On Apr 12, 2022, at 12:00:30, Michael Babcock wrote: > > I had to add the -B to prevent “head” from doing autoconvert on the file. > > -bash-4.3# iconv -f ISO8859-1 -t IBM-1047 trace_large.log | head -B > Good detective work.
I'm mystified. Why did autoconversion occur? o How did the pipe output come to be tagged? o Was the pipe output tagged as the pipe input? o Was the pipe tagged by iconv? o Did iconv tag its output as something other Than the value of the "-t" option? o Other (specify). "Mystified"? Actually astonished! Isn't there a bug here? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN