[Tex/LaTex] An input encoding problem

input-encodingsmiktexwinedt

I have two similar (as far as I can say) installations of MikTex 2.9+Winedt 10.3 on two Windows 10 machines. When I LaTex a particular file on one machine, it compiles with no problem. On the other machine, however, it gives me the following error message:

! Package inputenc Error: Invalid UTF-8 byte sequence.

See the inputenc package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.129 Lenstra, and Lovász
                          known as the LLL algorithm for lattice reduction
? 

! Undefined control sequence.

The problem seems to be the encoding of "Lovász" but I do not know how to solve it. I have looked at the input encoding documentation but it did not help. I am sure that the LaTeX files are exactly the same, one file on a Google drive. When I look at the bottom of Winedt windows on both machines, bot show UTF-8 encoding.

Best Answer

The root file was UTF-8 encoded but the child file was APC encoded. I used @Mico's suggestion to solve the problem. I still do not know how to save a file with UTF-8 encoding. Anyway, I consider my problem solved by using Mico's suggestion.

Related Question