Convert high-ASCII characters to escape sequences.