[EXTERNAL] Re: TeX on Windows?

Ulrike Fischer news3 at nililand.de
Wed May 26 10:08:45 CEST 2021


Am Tue, 25 May 2021 20:57:02 -0400 schrieb AC:


> Apparently, starting in 2018, special characters entered directly
> from the keyboard (like that fancy \226 hyphen thing) in
> documents that do not define an encoding generate an error under
> pdflatex.

No. You can enter special character. But you have to tell the truth
to (pdf)latex about your file encoding. 

Your editor can save files in utf8 and in latin1/cp1252. 

Since 2018 latex assumes that you used utf8 (which is the
recommended file encoding nowadays). If you use something else
you have to tell it with the right inputenc option:

> \usepackage[cp1252]{inputenc}
 
(Actually you always needed that line, if it was missing you were
lucky that you didn't use one of the special chars like ß where is
would have made a difference).

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



More information about the texhax mailing list.