Whenever I type something such as The energy's source, TexShop changes the apostrophe into a curly one which does not print in the PDF.
How can I stop future apostrophes from being changed without much of a hassle ?
Using TexShop :
\documentclass[12pt,a4paper]{report}
\usepackage[lmargin=3.81cm,tmargin=2.54cm,rmargin=2.54cm,bmargin=2.52cm]{geometry}
\linespread{1.5}
\usepackage{mathptmx}
\begin{document}
it's
\end{document}
This is what happens :
I type an apostrophe, the TexShop changes it to a curly apostrophe in the editor :

However this does not print in the PDF file as TexShop doesn't recognise it when it TypeSets.
If I manually change it to

Then it prints normally, but I can't keep changing it manually every time I type apostrophes because (1) I forget (2) it's not convenient.
\documentclass{...}and ending with\end{document}. – Apr 25 '13 at 22:09\usepackage[utf8]{inputenc}to handle "smart quotes" in LaTeX. – Guido Apr 25 '13 at 22:12\usepackage{upquote}package did not fix the problem. – Razor Apr 25 '13 at 22:20Keyboard character used is undefined in inputcoding 'utf8' \end{itemize}•– Razor Apr 25 '13 at 22:33[latin1]or[applemac]encoding. – David Carlisle Apr 25 '13 at 22:35'into a curly'as soon as I press enter .. – Razor Apr 25 '13 at 22:42