Fix escape character problem, for example \r\n ...