This seems to be just what the tr operator is for.
In reply to Re: Regex to convert non-printable to printable char by BillKSmith in thread Regex to convert non-printable to printable char by nvivek