Skip to main content

Line endings

Published 1 min readMarkdown

Thỉnh thoảng bị gặp lỗi rất củ chuối với các ký tự new line :( Do có sự khác biệt với mỗi hệ điều hành nên cần check cẩn thận:

  • Dos/Windows: \r\n
  • Unix: \n
  • Mac: \r

Tham khảo thêm tại: http://en.wikipedia.org/wiki/Line_endings ![](http://donamkhanh.com/wp-content/uploads/2008/08/line_endings.jpg "line_endings")

About the author

  • Khanh is a full stack web developer with over 15 years of experience developing for the web

No comments yet. Be the first to comment.

More from this blog