Rules / Build

LaTeX Error: Unicode character … (U+…) — Unicode character pdfLaTeX cannot typeset

The source contains a character pdfLaTeX does not know, or is not saved as UTF-8.

Fix

Compile with LuaLaTeX, or replace the character with a LaTeX command.

Example

Reproduced on TeX Live 2026 by CI · pdflatex · corpus/inputenc-unicode

Unicode symbol with pdfLaTeX

Fails: main.tex
\documentclass{article}
\begin{document}
Accuracy improved for all runs with n ≥ 100 samples.
\end{document}
Fixed
\documentclass{article}
\begin{document}
Accuracy improved for all runs with $n \geq 100$ samples.
\end{document}
What TeX prints in main.log
! LaTeX Error: Unicode character ≥ (U+2265)
               not set up for use with LaTeX.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.3 Accuracy improved for all runs with n ≥
                                              100 samples.
You may provide a definition with
\DeclareUnicodeCharacter