handle non printable characters