Incorrect line endings
-
Is there any cure to the line ending detection bug in N++?
It incorrectly identifies the line endings in remote files (on a winsshfs mapped drive). The file has only linux line endings, yet after opening the file N++ shows Dos/Windows on the status bar and all newlines added to the file will be \r\n.
If I copy the same file to local disk and open it from there the format gets correctly identified as UNIX.
-
Notepad++ shouldn’t have trouble detecting line endings at all. Are you sure winsshfs isn’t changing the line endings? I know other tools like WinSCP can mess with line endings. I’ve never used winsshfs though.
-
Hi,
existing line endings in opened file do not change at all,
just editing mode will be wrong, and every new line I add will have windows line endings.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login