[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] wrong encoding for *output* buffer
From: |
Werner LEMBERG |
Subject: |
Re: [AUCTeX] wrong encoding for *output* buffer |
Date: |
Wed, 31 Jan 2018 13:31:31 +0100 (CET) |
> AUCTeX determines the coding system for reading from the output of
> asynchronous TeX process by the function
> `TeX-adjust-process-coding-system'. It basically obeys the coding
> system of the command buffer, i.e., the buffer in which `C-c C-c' or
> something like it is issued. So I expect that it usually works
> well.
Thanks for the explanation. Right now, I can't repeat the issue.
The only thing which looks strange to me is that, the mode line in the
`*xxx output* buffer starts with
1:**
(but the UTF-8 contents of the log file as emitted by XeTeX is
correctly displayed).
> [...] putting the
>
> %%% coding: utf-8
>
> cookie in your ASCII sub file would do the trick. This makes the
> local value of `buffer-file-coding-system' to be the specified
> value, so the utf-8 output from xelatex would be decoded correctly.
I will try that as soon as I encounter the problem again.
> If this is not the case, I'm grateful if you provide sample xelatex
> documents to examine.
Will do!
Werner