resolve non-printable characters