I have a Word document that I want to translate into LaTeX, so it is a matter of copy & paste along with LaTeX code. But when I do that some of the characters come out wrong. For example this is the text passage that I copied:
"Este livro foi escrito para servir de texto de Análise Funcional nos estágios finais do Mestrado ou no início do Doutorado. De fato, versões preliminares dele já foram utilizadas no ciclo básico de Análise no programa de Doutorado do IMPA."
And here is my preamble:
\documentclass[pdftex,11pt,openleft]{book}
\usepackage[portuguese]{babel}
\usepackage[T1]{fontenc}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{graphicx,xcolor}
\usepackage{hyperref}
\hypersetup{colorlinks}
\usepackage{fancyhdr}
\pagestyle{fancy}
What could have possibly have gone wrong?
Note: I don't know Portuguese at all.
\usepackage[utf8]{inputenc}