in reply to Removing non-printing (hex codes) from text files
Interesting consequence of a wise Monk's attempt to get some insight to the OP can be found in (cross-reference):
OT: a bash shell oddity, need explanation
In Section
Seekers of Perl Wisdom