Top "Line-endings" questions

Line-ending signifies end of line.

How to check whether ifstream is end of file in C++

I need to read all blocks of one large file(about 10GB) sequentially, the file contains many floats with a …

c++ ifstream file-handling line-endings seekg
Say Yes to Inconsistent Line Endings?

I am building a game in Unity, and I am using Visual Studio 2013 as my default IDE. Whenever I create …

c# unity3d visual-studio-2013 cross-platform line-endings
Python, read CRLF text file as is, with CRLF

with open(fn, 'rt') as f: lines = f.readlines() This reads CR LF text file (WinXP, Py 2.6) with LF line …

python python-2.7 file-io line-endings
Do I want normalized line endings?

I am getting the following message in Visual Studio 2008: The line endings in the following file are not consistent. Do …

visual-studio line-endings
What is the meaning of ^M in git diff

I am diffing a file between forked and upstream BitBucket repos: $ git diff origin/branchA..upstream/branchB -- some/file/…

git line-endings
git ignore line endings

I know that similar questions have been asked, but I still can't get it working. My project is shared among …

git line-endings
How can I change the line endings used by fputcsv?

I create a CSV file for download by our client using $output = fopen('php://output', 'w'); and using fputcsv() to …

php csv line-endings
On windows, how would I detect the line ending of a file?

I've seen answers to the questions, but those answers are not from a windows perspective from what I can tell. …

windows file line-breaks line-endings eol
How can I fix the SVN import line endings error?

I have to import an huge SVN repository that I have to transfer from one server to another. So I …

svn import line-endings
PhpStorm + GIT line endings changing from LF to CRLF

I have set in my PhpStorm line endings to LF but when I commit to github, sometimes I see some …

git github phpstorm line-endings