[EXTERNAL] Re: TeX on Windows?

AC achirvasub at gmail.com
Wed May 26 13:08:43 CEST 2021



On May 26, 2021 4:08:45 AM EDT, Ulrike Fischer <news3 at nililand.de> wrote:
>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. 

Obviously, "can't" didn't literally mean "are not able to", as you seem to have interpreted it. My message later explicitly says you have to specify the encoding.

So "can't" was short for "can't do it without expecting an error".

> 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).



More information about the texhax mailing list.