inputenc line is like
latexenc.el operates via
file-coding-system-alist and in Emacs 22 is enabled by default for
If you’re writing some latex yourself you can always give a
coding: cookie yourself, but
latexenc.el is good for visiting other people’s latex which quite possibly don’t have an Emacs cookie.
If you’ve got a multi-file document you can give a
TeX-master local variable, or anything
tex-main-file understands, to have
latexenc.el look in a top-level master file for
inputenc, instead of needing it in every file. (Though as of Emacs 22.1 that doesn’t work from a TarMode or ArchiveMode member buffer.)
Latex allows the input encoding to be changed at any point, so in theory you can have different codings for different parts of a single file, but Emacs can’t cope with that, it needs the whole file in one coding.