I have a TeX document with emojis and I want to convert it into HTML using make4ht. Most of the emojis are not present in the final HTML.
The problem might be reproduced using the example provided here: Smileys in LaTeX
Compiling with:
make4ht -u -x emoji
where the content of file emoji.tex is:
\documentclass{article}
\usepackage{fontspec}
\newfontfamily\DejaSans{DejaVu Sans}
\begin{document}
Some emoticons from Unicode:
{\DejaSans ☺☹} and even cats: {\DejaSans }!
\end{document}
The resulting HTML shows:
while the PDF shows:
How to fix it and get all emojis in the HTML?




☺ðŸ˜â˜¹ðŸ˜ðŸ˜‚😃😇😉😈😋ðŸ˜ðŸ˜± and even cats: 😺!– LEo Feb 11 '21 at 12:11-uoption fix it? – michal.h21 Feb 11 '21 at 12:29