Corrupted file. Error on line -1
-
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.
-
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).
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