Support \n, \r, \r\n