My document uses è
and ï
, so i used the following preamble to make sure they are displayed correctly. However they show up as something else (namely A¨~
). What could be the problem?
Specifically, I started the preamble with: \usepackage[latin1]{inputenc}
I don't do \usepackage[T1]{fontenc}
because that made the output an awful looking font.
UPDATE: for testing purposes, I inserted an é
into every .tex file that is being \input
in the main .tex file. Apparently, only 1 .tex file shows the wrong symbols, all other ones show the é
like intended.
I use TeXnicCenter with MiKTeX 2.9 on Windows 7 64-bit.
ANSWER: I copied the contents of the erronous .tex file to notepad, deleted the .Tex and created a new one. Then I inserted all the text again. Now it works. So... for some strange reason that specific .tex file was of a different encoding?
\usepackage[latin1]{inputenc}
- whylatin1
, notutf8x
?\oAl\"em\ae
enca your_file
. That's in header is nonsense.