Yesterday, I edited my tex document as usual, but today I opened up the file and found gibberish. Someone please tell me if I can recover the original non gibberish file. Oh, good news is that the pdf that was generated yesterday is in tact, and I saved a back up before trying to fudge with maybe fixing this crap, so if all else fails, I can retype everything from scratch...which I really would absolutely hate to do, because this file is LONG.

EDIT: No, I do not want to know how to convert PDF to Tex (because I know that is nearly impossible, and I would be better off retyping everything), all I want to know if it is possible to recover the TEX file from what it looks like below.

The gibberish file

  • 3
    Possible duplicate of How to convert PDF to (La)TeX?
    – siracusa
    May 21, 2019 at 11:30
  • @siracusa It will never work 100% correct. I think this is only an issue of encoding.
    – user156344
    May 21, 2019 at 11:56
  • 1
    The encoding at the bottom of the editor window is UTF-8. Is that what you saved the file in? May 21, 2019 at 12:06
  • The thing is, we already have a lot of these questions, e.g.here, here, here or here. The one which offers the most information is the one linked to as a duplicate. I'm not sure having another question of that sort will bring any new insights.
    – siracusa
    May 21, 2019 at 12:06
  • @MatthewLeingang yes, I believe that is the usual encoding I use, but I wouldn't 100% know.
    – kalikinik
    May 21, 2019 at 13:08


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.