It has been two years since I have started using Latex (on a Mac), and up to now I have written my text without worrying about the possible output (as if it was a WYSIWYG), and at the moment of compiling, I searched all the accented characters and replaced them. It is boring and decided to reattack the problem.
So here is my input (the encoding is in UTF-8):
\documentclass[a4paper,11pt]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\begin{document}
Cet été, dans une forêt française, j’ai ouï un très grand cri.
\end{document}
And the output is:
Undefined control sequence ...
(followed by the text where the accented (+cedille) characters are replaced by their unicode name). I have updated TexShop, tried all the possible compatible pairings of encoding and option of inputenc (isolatin, applemac) without success, and I don't understand where the problem could came from.
Does someone have any idea? Thank you very much in advance.
utf8actually? – Feb 14 '16 at 16:26!to?hard to debug when only show a fragment of the message. I would guess that your file is not saved in UTF-8 format. – David Carlisle Feb 14 '16 at 16:33file filename.texand the output tells you what encoding your file was saved with. – Johannes_B Feb 14 '16 at 16:47Cet \UTF {00E9}. Deactivate this "feature", see http://tex.stackexchange.com/questions/193872/texshop-diacritic-encoding and http://tex.stackexchange.com/questions/292904/rendering-a-unicode-en-dash-in-xelatex – Ulrike Fischer Feb 14 '16 at 21:53.texfile. If you still get an error, post the lot in your question. (Not on an external site.) – cfr Feb 15 '16 at 03:20