I'm in AUCTeX in a 32-bit Win7 machine. When compiling the master file with pdflatex I'm getting the error msg given below. Can you help me understand the error and correct it?

ERROR: Package inputenc Error: Unicode char \u8:è\itemS not set up for use with LaTeX.

--- TeX said ---

See the inputenc package documentation for explanation. Type H for immediate help. ...

                                               l.12 \item  S
         crivi l'eqz di $\%CW$

--- HELP --- No help available

Here are 2 MWE:

\usepackage{newpxtext, newpxmath} %palatino font 


\usepackage{amssymb, amsmath, amsfonts, xfrac}

\title{Mat. Sc.}





Extract of L7.tex

\section{Lez.07 -- Stategie di rinforzo, incrudimento, annealing}

\item \textbf{Le 4 stategie di rinforzo sono}
\item L'incrudimento o \emph{cold work} o \emph{work hadening} è
\item Scrivi l'eqz di $\%CW$  
\item \textbf{Descrivi work-hardening (cos'è, cosa fa)}
\item Dopo \%CW ricuocere il materiale per 1h a T\ped{annealing}
\item 3 stadi di annealing do \%CW sono 
  • I'm afraid AUCTeX can't figure out accented letters (quite common) in Italian such as: à, è, é... it says it is not compatible with utf8 inputenc. How do I fix this for AUCTeX in win7? Oct 8, 2014 at 21:17
  • 2
    This has nothing to do with AUCTeX. You probably have a wrong file encoding set. The bar between the buffer window and the command minibuffer should have a U at the far left.
    – egreg
    Oct 8, 2014 at 21:18
  • It looks like è is encoded as a single byte so not utf8 Oct 8, 2014 at 21:20
  • 1
    Add % -*- coding: utf-8; -*- as first line of your .tex files. Oct 8, 2014 at 22:53

1 Answer 1


Adding % -*- coding: utf-8; -*- to both the master.tex file and the dependant file worked! I can also see the U at the far left corner of buffer separation bar, but I can't remember whether it wasn't there yesterday. Thank you, folks for your help.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .