[Tex/LaTex] Encoding for a .tex file created under Mac and opened under Windows

input-encodingsmactexmakerwindows

When I open a .tex file with Texmaker under Win8.1, that was created on a Mac using TexShop, I get the following error:

It seems that this file cannot be correctly decoded with the default encoding setting (UTF-8)

Different choices for an encoding option are then proposed. I select "macintosh", and the file opens correctly.

However, after saving it, when I open it again, the same error pops up again.

I guess I have to open the file with "macintosh" but save it with another encoding. I did not find a way to do so.

Do you have any idea?

Best Answer

I just realized that Texmaker proposes a simple way of doing it. There is a Unicode converter in the "Tools" toolbar.

There, one selects the .tex file to open and specifies the original encoding. The file is then automatically converted!

Related Question