Support \r\n, \n and \r