The following code used to compile, but I noticed now that it doesn't anymore.
\documentclass{article}
\usepackage[utf8]{inputenc}
\DeclareUnicodeCharacter{00E4}{\"a}
\begin{document}
lorem ipsum
\end{document}
! Undefined control sequence.
<recently read> \DeclareUnicodeCharacter
l.3 \DeclareUnicodeCharacter
{00E4}{\"a}
?
Any idea what's going on?
inputenc(thus\DeclareUnicodeCharacter) is ignored. – Phelype Oleinik Nov 24 '19 at 19:05