<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Cambria;
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Cascadia Mono";
        panose-1:2 11 6 9 2 0 0 2 0 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.style1, li.style1, div.style1
        {mso-style-name:style1;
        mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:56.7pt 42.5pt 56.7pt 85.05pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><a name="_MailEndCompose"><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>If you interesting I attached short file where I tested your advice. In this file still works as I  expect. However write now I found source of problem. Few years ago after some change in Babel I had a lot of errors which canceled translation before time. Somebody advised me to use macro<o:p></o:p></span></a></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;font-family:"Cascadia Mono";color:black'>\UseRawInputEncoding<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>And it worked as I expected, but now when I put it after </span>\usepackage[cp1251]{inputenc} it canceled usepackage.<span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;color:#1F497D'>Aleks Kleyn</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p></div><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='border-collapse:collapse'><tr><td width=734 valign=top style='width:275.4pt;padding:0in 5.4pt 0in 5.4pt'><p class=MsoNormal style='line-height:115%'><a href="http://alekskleyn.dyndns-home.com:4080/"><span style='font-size:10.5pt;line-height:115%;font-family:Consolas'>http://alekskleyn.dyndns-home.com:4080/</span></a><span style='font-size:10.5pt;line-height:115%;font-family:Consolas;color:#1F497D'>  </span><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='line-height:115%'><a href="http://sites.google.com/site/alekskleyn/"><span style='font-size:10.5pt;line-height:115%;font-family:Consolas'>http://sites.google.com/site/AleksKleyn/</span></a><span style='font-size:10.5pt;line-height:115%;font-family:Consolas;color:#1F497D'> </span><span style='font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='line-height:115%'><a href="http://arxiv.org/a/kleyn_a_1"><span style='font-size:10.5pt;line-height:115%;font-family:Consolas'>http://arxiv.org/a/kleyn_a_1</span></a><span style='font-size:10.5pt;line-height:115%;font-family:Consolas;color:#1F497D'>  </span><span style='font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='line-height:115%'><a href="http://AleksKleyn.blogspot.com/"><span style='font-size:10.5pt;line-height:115%;font-family:Consolas'>http://AleksKleyn.blogspot.com/</span></a><span style='font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='line-height:115%'><a href="http://kleynaleks.blogspot.com/"><span style='font-size:10.5pt;line-height:115%;font-family:Consolas'>http://KleynAleks.blogspot.com/</span></a><span style='font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='line-height:115%'><span style='color:#1F497D'><o:p> </o:p></span></p></td><td width=466 valign=top style='width:174.85pt;padding:0in 5.4pt 0in 5.4pt'><p class=MsoNormal style='line-height:115%'><span style='font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif";color:#1F497D'>Derivative in Banach algebra</span><span style='color:#1F497D'><o:p></o:p></span></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='border-collapse:collapse'><tr><td valign=top style='padding:0in 5.4pt 0in 5.4pt'><p class=MsoNormal style='line-height:115%'><i><u><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";color:#1F497D'>dx<sup>2</sup></span></u></i><i><u><sup><span style='font-family:"Cambria","serif";color:#1F497D'><o:p></o:p></span></sup></u></i></p></td><td rowspan=2 style='padding:0in 5.4pt 0in 5.4pt'><p class=MsoNormal style='line-height:115%'><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";color:#1F497D'>=1</span></i><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria Math","serif";color:#1F497D'>⊗ </span></i><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";color:#1F497D'>x+x</span></i><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria Math","serif";color:#1F497D'>⊗</span></i><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";color:#1F497D'>1</span></i><span style='font-family:"Cambria","serif";color:#1F497D'><o:p></o:p></span></p></td></tr><tr><td valign=top style='padding:0in 5.4pt 0in 5.4pt'><p class=MsoNormal style='line-height:115%'><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";color:#1F497D'>dx</span></i><i><span style='font-family:"Cambria","serif";color:#1F497D'><o:p></o:p></span></i></p></td></tr></table><p class=MsoNormal style='line-height:115%'><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";color:#1F497D'>  d<sub> </sub>x<sup>2</sup> =(1</span></i><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria Math","serif";color:#1F497D'>⊗ </span></i><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";color:#1F497D'>x+x</span></i><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria Math","serif";color:#1F497D'>⊗</span></i><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";color:#1F497D'>1)</span></i><i><span style='font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif";color:#1F497D'> ◦dx</span></i><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";color:#1F497D'>=dx x+x dx</span></i><span style='font-family:"Cambria","serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='line-height:115%'><span style='color:#1F497D'><o:p> </o:p></span></p></td></tr></table><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Aleks Kleyn [mailto:Aleks_Kleyn@MailAPS.org] <br><b>Sent:</b> Tuesday, April 23, 2024 11:02 AM<br><b>To:</b> 'pdftex@tug.org'<br><b>Subject:</b> RE: [pdftex] foreign letter in text<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I use pdflatex since 2007, at that time windows notepad saved files in ANSI encoding. Sometimes when some symbol changed encoding to Unicode, pdflatex was unable to compile such files. So I was careful about this issue. Sometimes I use Russian symbols to make sure that compiler will remind me that I need to make changes in text for which I am not ready at current time. Sometimes I do translation to English later because I need to write original text faster.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>So I added </span>\usepackage[cp1251]{inputenc}<span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> as last usepackage macro and it does work for me. When I returned it to the beginning of text like it was originally I see that it does not work. In short example I did not see which macro cancels expected change. But at this time this is not important because I want to finish my text as soon as I can.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>You wrote that pdflatex changed encoding few years ago. But I saw proper error messages even last winter. I use all years MikTeX. When I recently install TeXlive, I saw some problem in MikTeX so I uninstalled TeXlive. I have about 70 folders and few thousands files. I do not think that it is reasonable to spent time to change encoding. And what happens if somebody will make quietly another change which again destroy all previous work.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I appreciate your help.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;color:#1F497D'>Aleks Kleyn</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='border-collapse:collapse'><tr><td width=734 valign=top style='width:275.4pt;padding:0in 5.4pt 0in 5.4pt'><p class=MsoNormal style='line-height:115%'><a href="http://alekskleyn.dyndns-home.com:4080/"><span style='font-size:10.5pt;line-height:115%;font-family:Consolas'>http://alekskleyn.dyndns-home.com:4080/</span></a><span style='font-size:10.5pt;line-height:115%;font-family:Consolas;color:#1F497D'>  </span><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='line-height:115%'><a href="http://sites.google.com/site/alekskleyn/"><span style='font-size:10.5pt;line-height:115%;font-family:Consolas'>http://sites.google.com/site/AleksKleyn/</span></a><span style='font-size:10.5pt;line-height:115%;font-family:Consolas;color:#1F497D'> </span><span style='font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='line-height:115%'><a href="http://arxiv.org/a/kleyn_a_1"><span style='font-size:10.5pt;line-height:115%;font-family:Consolas'>http://arxiv.org/a/kleyn_a_1</span></a><span style='font-size:10.5pt;line-height:115%;font-family:Consolas;color:#1F497D'>  </span><span style='font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='line-height:115%'><a href="http://AleksKleyn.blogspot.com/"><span style='font-size:10.5pt;line-height:115%;font-family:Consolas'>http://AleksKleyn.blogspot.com/</span></a><span style='font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='line-height:115%'><a href="http://kleynaleks.blogspot.com/"><span style='font-size:10.5pt;line-height:115%;font-family:Consolas'>http://KleynAleks.blogspot.com/</span></a><span style='font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='line-height:115%'><span style='color:#1F497D'><o:p> </o:p></span></p></td><td width=466 valign=top style='width:174.85pt;padding:0in 5.4pt 0in 5.4pt'><p class=MsoNormal style='line-height:115%'><span style='font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif";color:#1F497D'>Derivative in Banach algebra</span><span style='color:#1F497D'><o:p></o:p></span></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='border-collapse:collapse'><tr><td valign=top style='padding:0in 5.4pt 0in 5.4pt'><p class=MsoNormal style='line-height:115%'><i><u><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";color:#1F497D'>dx<sup>2</sup></span></u></i><i><u><sup><span style='font-family:"Cambria","serif";color:#1F497D'><o:p></o:p></span></sup></u></i></p></td><td rowspan=2 style='padding:0in 5.4pt 0in 5.4pt'><p class=MsoNormal style='line-height:115%'><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";color:#1F497D'>=1</span></i><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria Math","serif";color:#1F497D'>⊗ </span></i><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";color:#1F497D'>x+x</span></i><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria Math","serif";color:#1F497D'>⊗</span></i><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";color:#1F497D'>1</span></i><span style='font-family:"Cambria","serif";color:#1F497D'><o:p></o:p></span></p></td></tr><tr><td valign=top style='padding:0in 5.4pt 0in 5.4pt'><p class=MsoNormal style='line-height:115%'><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";color:#1F497D'>dx</span></i><i><span style='font-family:"Cambria","serif";color:#1F497D'><o:p></o:p></span></i></p></td></tr></table><p class=MsoNormal style='line-height:115%'><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";color:#1F497D'>  d<sub> </sub>x<sup>2</sup> =(1</span></i><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria Math","serif";color:#1F497D'>⊗ </span></i><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";color:#1F497D'>x+x</span></i><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria Math","serif";color:#1F497D'>⊗</span></i><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";color:#1F497D'>1)</span></i><i><span style='font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif";color:#1F497D'> ◦dx</span></i><i><span style='font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";color:#1F497D'>=dx x+x dx</span></i><span style='font-family:"Cambria","serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='line-height:115%'><span style='color:#1F497D'><o:p> </o:p></span></p></td></tr></table><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> pdftex [mailto:pdftex-bounces+aleks_kleyn=mailaps.org@tug.org] <b>On Behalf Of </b>David Carlisle via pdftex<br><b>Sent:</b> Monday, April 22, 2024 6:22 PM<br><b>To:</b> pdftex@tug.org<br><b>Subject:</b> Re: [pdftex] foreign letter in text<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On 22/04/2024 21:59, Aleks Kleyn wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I discovered one more interesting thing. When I put </span>\usepackage[cp1251]{inputenc}<span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> in the beginning of document (like it was originally), I get wrong error reporting. This macro works properly when it come last in the set of packages. This means that some packages change input encoding.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></blockquote><p class=MsoNormal>Packages should not change the declared encoding of the main document, but quite possibly some do, that would be an issue to raise with the package maintainer. There is nothing that pdftex can do about that.<o:p></o:p></p><p>This list is really about the pdftex engine, which is not directly involved, all the features you are discussing are purely about the latex macro layer.<o:p></o:p></p><p>but \usepackage[cp1251]{inputenc} can only do anything useful if the files are actually in the Windows Code page 1251 encoding.<o:p></o:p></p><p><o:p> </o:p></p><p>You have not said what encoding your files are in,  nor given any example, nor said what error you got.<o:p></o:p></p><p>I am guessing that your issue is related to the change of default encoding for latex in 2018, but that should not have affected any document that was correctly declaring the encoding it was using, so it is surprising to see it causing problems now.<o:p></o:p></p><p>You also have not said what change you made, certainly if you updated from texlive 2023 to 2024 my guess that it was related to the default encoding can not be right.<o:p></o:p></p><p><o:p> </o:p></p><p>If you showed a small document and said what system you used previously where it worked, and said what it does wrong in texlive 2024, someone could help, otherwise I really can not guess any more.<o:p></o:p></p><p>I would still say you should consider re-encoding your files to UTF-8 (back them up first but then you should be able to convert them all with various commandline tools, you would not have to edit each file "by hand")<o:p></o:p></p><p>David<o:p></o:p></p><p><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><p><b><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#666666'>Disclaimer</span></b><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#666666'><o:p></o:p></span></p><p><span style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:#666666'>The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: 30 St. Giles, Oxford, OX1 3LE, United Kingdom. Please see our <a href="https://www.nag.com/content/privacy-notice">Privacy Notice </a>for information on how we process personal data and for details of how to stop or limit communications from us.<br><br>This e-mail has been scanned for all viruses and malware by Microsoft Exchange Online (EOP)<o:p></o:p></span></p></div></body></html>