Line termination: Windows versus UNIX versus Macintosh
Posted on 2012-05-30 17:53 zhaobin 阅读(106) 评论(0) 编辑 收藏 举报0d: carriage return \r
0a: line feed \n
WINDOWS:
preceding text -> 0d 0a -> succeeding text
UNIX, Mac OSX:
preceding text -> 0a -> succeeding text
MAC (OS-9 and earlier):
preceding text -> 0d -> succeeding text