我正在工作时电源断电了,当我打开文件时,发现有很多问号。我所有的工作都在这里,却丢失了!我该怎么办?
试图:
我尝试删除 .aux 文件,但没有任何变化。以下是部分我的日志文件:
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (MiKTeX 2.9) (preloaded format=pdflatex 2016.8.17) 19 DEC 2016 14:26
entering extended mode
**"./Contas e Dúvidas.tex"
("Contas e Dúvidas.tex"
LaTeX2e <2016/03/31> patch level 3
Babel <3.9r> and hyphenation patterns for 75 language(s) loaded.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.1 ï
¿½ï¿½ \� q u� �2 t� �. s� �� 2� �3 a�...
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
Missing character: There is no ï in font nullfont!
Missing character: There is no ¿ in font nullfont!
Missing character: There is no ½ in font nullfont!
Missing character: There is no ï in font nullfont!
Missing character: There is no ¿ in font nullfont!
Missing character: There is no ½ in font nullfont!
! Text line contains an invalid character.
l.1 ��
\� q u� �2 t� �. s� �� 2� �3 a�...
A funny symbol that I can't read has just been input.
Continue, and I'll forget that it ever happened.
! Text line contains an invalid character.
l.1 ��
\� q u� �2 t� �. s� �� 2� �3 a�...
A funny symbol that I can't read has just been input.
Continue, and I'll forget that it ever happened.
! Undefined control sequence.
l.1 �� \ï
¿½ q u� �2 t� �. s� �� 2� �3 a�...
我的输入文件:
��
答案1
您的输出主要是终端输出,显示�
假设 latin1(不是 UTF)终端编码代表三个字节
EF BF BD
这是字符 U+FFFD 的 Unicode UTF-8 编码的三个字节,即REPLACEMENT CHARACTER
当 Unicode 系统发生混淆且无法解码输入时会替换的字符。
pdftex 不会这样做,但是如果您的编辑软件被赋予了 latin 1(iso-8859-1)编码数据但被告知将其读取为 UTF-8,那么它可能会这样做。
您需要显示一些输入文件。