TeXpad

LaTeX error: Unicode character … not set up for use with LaTeX

pdfLaTeX reads your file as UTF-8 but only knows how to print characters that its fonts and encodings cover. Symbols pasted from a word processor or a web page, such as ≤, →, ✓, or CJK text, have no glyph mapping, so the compile stops.

! Package inputenc Error: Unicode character ≤ (U+2264) not set up for use with LaTeX.

Try it: this example has the error

Press Fix it in the error box, and it compiles to a PDF. What pdfTeX printed for it:

! Package inputenc Error: Unicode character ^^e2^^89^^a4 (U+2264)
(inputenc)                not set up for use with LaTeX.

See the inputenc package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.3 Inequality: a ^^e2^^89^^a4
                               b and a ^^e2^^86^^92 b.
or paste your own document

Ready. Press Compile (or Ctrl/Cmd + Enter).

Open in the full editor →

Common causes

How to fix it

  1. Replace math symbols with commands: \leq, \geq, \to, \times, -. TeXpad offers the replacement in one click.
  2. For invisible characters, delete and retype the space around the reported position.
  3. The LaTeX symbols cheat sheet lists the command for each common symbol.

Related errors