Replace invisible char with escape sequence