[XeTeX] [texhax] corrupted TeX file

Steve Revilak steve at srevilak.net
Mon Oct 25 18:09:37 CEST 2010


>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.

Vafa,

Unfortunately, this does not look good.  bahar.tex seems to be nothing
more than a long series of null bytes:

    $ tr -d '\000' < bahar.tex | wc -c
    0

There doesn't appear to be anything in the file to recover.

Hopefully your user has a backup copy.  If not, depending on your
users' operating system, you might try some form of disk recovery
software.

Sorry for the bad news :(

Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20101025/f74f97c8/attachment.bin>


More information about the XeTeX mailing list