while () { s/[\x80-\xff]+/\t/g; # turn all field separators into tabs print OUTPUT; }