auctex
[Top][All Lists]
Advanced

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

[AUCTeX] wrong encoding for *output* buffer


From: Werner LEMBERG
Subject: [AUCTeX] wrong encoding for *output* buffer
Date: Fri, 26 Jan 2018 08:57:10 +0100 (CET)

[git commit 4b66b9f60e3ce4a552bd4f3230b659347add1446]


Folks,


I have the following in my master document.

  %%% Local Variables:
  %%% coding: utf-8
  %%% mode: latex
  %%% TeX-engine: xetex
  %%% TeX-PDF-mode: t
  %%% TeX-master: t
  %%% End:

However, the `*xxx output* buffer (showing the compilation results of
xetex) is in latin-1 encoding – I guess this is due to

  (set-language-environment "latin-1")
  (setq-default buffer-file-coding-system 'latin-1)

in my `~/.emacs' file...

What must I do so that auctex obeys the local encoding variables in my
master document, thus overriding `~/.emacs'?  [AFAICS, xetex *can* be
forced to use non-UTF8 legacy encodings, so relying on `TeX-engine' is
probably not sufficient.]


    Werner

reply via email to

[Prev in Thread] Current Thread [Next in Thread]