I'm reading output from where users put their own input into a latex document. It appears as though the users can include emojis. So my question, what is then minimal needed so that the following MWE will latex without error. Either the emoji is correctly handled or else ignored or even replaced by some box. The important thing for me is that the document latexs without error.
\documentclass{article}
\begin{document}
Can this be handled in latex?
\end{document}
\DeclareUnicodeCharacter{1F44D}{some emoji}– Ulrike Fischer Apr 23 '21 at 16:05