Reminder - \r\n or \n\r?

前端 未结 10 1810
轻奢々
轻奢々 2020-11-30 16:37

I just can\'t remember those. So, what is the right way to properly terminate old fashioned ASCII lines?

10条回答
  •  感情败类
    2020-11-30 17:24

    The sequence is CR (Carriage Return) - LF (Line Feed). Remember dot matrix printers? Exactly. So - the correct order is \r \n

提交回复
热议问题