136
138

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

改行コード一覧

Last updated at Posted at 2017-11-05

私はiOSとWindows、たまにLinuxでアプリを開発しています。どのOSでどの改行コードを使うかわからなくなるときがあるため、一覧にしてみました。

改行コード名 意味 改行コード OS fileformat(Vim)
CR(Carriage Return) 復帰。キャレットを左端の位置に戻すこと \r Mac OS(9以前) mac
LF(Line Feed) 改行。キャレットを新しい行に移動すること \n UNIX系全般 unix
CRLF 復帰+改行。キャレットを左端の位置に戻して改行すること \r\n Windows系全般 dos

参考リンク

136
138
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
136
138

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?