\documentclass{article}
\usepackage[utf8x]{inputenc}
\usepackage[francais]{babel}
\begin{document}
   Mon texte
\end{document}