# ! Text line contains an invalid character [closed]

My Compiler gives hundreds of “invalid character” like this:

> !ltext line contains an invalid character pfdlatex
> 1.1


• Welcome to TeX.SX! Have you entered any accented characters, such as é? If so, you need to use the inputenc package. Another possible cause can occur if you copy and paste text that includes symbols such as em-dashes — or curly quote marks “ ”. We can't really help any further without a minimal working example (MWE) (as already noted in the previous comment). Feb 26 '14 at 15:09
• Welcome to TeX.SX! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. Feb 27 '14 at 13:17
Make sure the file is in the encoding you are trying to use, and that the right \usepackage[...]{inputenc} (or whatever other magic is required) is at hand.
I've had cases where the .aux or other LaTeX-written files contained cruft from earlier runs, or just were plain corrupt, and gave symptoms as you describe. Starting with a clean slate might help.