Community
    • Login

    Lost my file on System Restart - Help pls

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 4.0k Views
    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
      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
        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
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors