[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Emacs23 encoding



On 2009-09-02 12:51 +0200, Johann Spies wrote:

> I am experiencing some irritating behaviour when using emacs23 with
> LaTeX. This involves accented characters.
>
> If I type the following word: "lêers" in my text it show up correctly
> in the immediate buffer, but later (after a save of the buffer)
> becomes  "lêers".

What is the value of the buffer-file-coding-system variable?

> I have tried several options setting the encoding to iso-8599-1 or
> latin-1 but with limited success.
>
> So my question: What can I do to convince emacs23 to keep 'lêers'
> 'lêers'?

Make sure you use the right input encoding.  Emacs deduces the
coding-system from the "\usepackage[<encoding>]{inputenc}" directive of
your file.  Do you have such a line in your file, and with which
encoding?

Sven


Reply to: