in reply to PERL UNIX and strangeness and char conversion
""more" and those editors are all correct. They are just showing a different representation of the same unprintable character.
perl -pe 'tr/\x80-\xff/?/' <oldfile >convertedfile
There. I've converted all that strangeness to a plain ASCII ? just like you asked.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: PERL UNIX and strangeness and char conversion
by Anonymous Monk on Jan 18, 2021 at 21:55 UTC | |
by tybalt89 (Monsignor) on Jan 18, 2021 at 22:11 UTC |
In Section
Seekers of Perl Wisdom