Community
    • Login

    Lost my file on System Restart - Help pls

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 4.6k Views 1 Watching
    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.
    • PonnezhilP Offline
      Ponnezhil
      last edited by

      Hi All,
      I was editing my website code on notepad++ when my system restarted
      On opening back - it was filled with “null” characters
      I do not have a backup and the 7 seconds notepad++ backup has saved only my null characters
      Any way to get my old working code back?

      1 Reply Last reply Reply Quote 0
      • Mike WelchM Offline
        Mike Welch
        last edited by

        Might be a little late (9 days ago), but take a look at the file in a hex editor. It’s possible that the UTF (Unicode) is out of sync and you are only seeing the null characters. Assuming you are using Latin based language where 1 byte per character is used, in Unicode every other character is a NULL.

        Assume that “.” is null. If you open a Unicode file in an editor that doesn’t recognize Unicode, so you can see the actual contents, you will see something like:

        H.e.l.l.o...W.o.r.l.d.!
        

        I haven’t seen what you are talking about happen, and you would have to be saving the file in a Unicode type format for this to happen, but if something was corrupted it could in theory do what you describe.

        Or, the file might just be lost.

        1 Reply Last reply Reply Quote 0

        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
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors