Skip to content

File incorrectly identified as having Unix style line endings #1002

@colejohnson66

Description

@colejohnson66

I have a subtitle file that Notepad++ detects as having Unix style line endings, when in fact, it doesn't. At all. To test this, I did the following:

  1. Open file
  2. Observe Notepad++ claims Unix style line endings
  3. Replace \r with nothing
  4. Save with different name
  5. Reopen new file
  6. EOL conversion to Dos/Windows style
  7. Save
  8. Reopen new file
  9. Observe Notepad++ claims Unix style line endings

If you diff the original file with the new one, you'll find that they're identical! In fact, a regex search (wrap-around, "." flag off) on the file for [^\r]\n returns nothing.

Here's the file in question: Inception (2010).BRRip.English.srt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions