[Tex/LaTex] Accent problem using texstudio latex

accents

What is the problem with this code?
I am working on Mac OS X.

\documentclass[a4paper,16pts,notitlepage]{report}
\usepackage{amsfonts} 
\usepackage{amsfonts}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage{amssymb}
\usepackage[applemac]{inputenc} % pour les accents
\title{Rapport d'avancement} 
\author{XYZ} 
\begin{document}
\maketitle
\begin{center}
  blalalal
\end{center}
\thispagestyle{empty}

\newpage
\section{État de l'art}
\section{Description du système}
\section{Algorithme}
\section{Résultats}
\section{Analyses et discussions}
\section{Conclusions et perspectives}
\end{document}

Best Answer

Option applemac is the source of the problem. It seems (compiled on PC) that we can omit it. If not, follow the expalanation from the help message on error about options clash.

  \documentclass[a4paper, 16pts,notitlepage]{report}
 \usepackage{amsfonts} 
 %\usepackage{amsfonts} %double! -- PS
 \usepackage{graphicx}
 \usepackage[utf8]{inputenc}
  \usepackage{amssymb}
%  \usepackage[applemac]{inputenc} % pour les accents %% without seems to work --PS
  \title{Rapport d'avancement} 
   \author{XYZ} 
  \begin{document}

  \maketitle
  \begin{center}
    blalalal
    \end{center}
    \thispagestyle{empty}

%\newpage % commented only to have all on one page
      \section{État de l'art}
      \section{Description du système}
       \section{Algorithme}
       \section{Résultats}
       \section{Analyses et discussions}
       \section{Conclusions et perspectives}

        \end{document}

enter image description here

Related Question