2

I got the exact same problem as described here and here:

  • umlauts are translated into strange characters; the output file does not compile
  • the output file is UCS2-Little-Endian encoded (according to Notepad++)
  • adding --encoding=utf8 or --encoding=utf-8-strict changes nothing; problems appear already if I add e.g. an "ä" to the document body of one of those example documents.
  • if I (1) replace all special characters in the input files with ASCII characters and (2) change the encoding of the output file to UTF8, it will compile.

I'm using MiKTeX with TeXstudio on a Windows 10 system.

Is there a now a known solution to this problem?

  • 1
    This isn't answer to your question, but I would really like to know the answer because I am having exactly the same thing happening. I ended up having to use 3142.nl/latex-diff because, just like you, latexdiff was generating the weiredest characters for me on windows - even when everything was set to utf-8 and I had used dos2unix on all the input files. – nmu Oct 30 at 9:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.