Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Corrupted file. Error on line -1

    Help wanted · · · – – – · · ·
    2
    2
    1158
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Sebastian Sjögren
      Sebastian Sjögren last edited by

      Hi,

      i have corrupeted file which can be viewed but Notepad and Notepad++ and if i try to open it with XML editor or the program it should be opened with it gives an error message that there is an error on line -1.

      Is there feature in notepad ++ which I can active that I can see the the -1 and zero line and maybe delete them and get the file to work.

      Looking for a easy way to fix it.

      1 Reply Last reply Reply Quote 0
      • AdrianHHH
        AdrianHHH last edited by

        The negative line number in the error message suggests that the beginning of the file, or possibly the end, are not correct. Notepad++ will show all of the lines and characters in the file.

        Try opening a file that is not corrupt in Notepad++ and compare the first few characters against the first few of the corrupt file. It may be useful to set menu => View => Show symbol => Show all characters. Also compare the file encodings as shown on the Notepad++ status line (i.e. at the bottom of the window).

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors