[texhax] corrupted TeX file

Donald Arseneau asnd at triumf.ca
Wed Oct 27 04:10:59 CEST 2010

Steve Revilak <steve at srevilak.net> writes:

> >From: Vafa Khalighi <vafakhlgh at gmail.com>
> >I received this question from a user.
> >
> >He was typing the tex file while suddenly power was cut off. When he turned
> >his computer on, he has got this corrupted tex file. Is there a way to
> >recover this tex file? The file is in UTF8.
> Unfortunately, this does not look good.  bahar.tex seems to be nothing
> more than a long series of null bytes:

Now the question is: what editor?  Text editors usually maintain a 
previous version as a backup copy, and sometimes a check of recent
edits so the content can be restored to within a few minutes.

Look for files (perhaps hidden files) with "bahar" in the name.

Donald Arseneau                          asnd at triumf.ca

More information about the texhax mailing list