bug#81606: Mojibake with UTF-8 file names

Werner LEMBERG <[email protected]>
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
>>   Non-ASCII characters in the name of of the master file must use
>>   the same encoding as the current input file itself.  To make this
>>   actually work, set the @code{coding} local variable accordingly;
>>   in most cases, you want to use UTF-8 encoding.  Example:
> 
> This doesn't work, I think: the encoding of the current file is not
> known when latexenc looks for the name of the main file.  That was
> the reason for the original problem in this bug.  Or what am I
> missing?

If a master file `foo` is specified in the local variables block,
AUCTeX checks whether it is exists, otherwise it gets created.  This
string `foo` must be given in the encoding specified by the `coding`
cookie.  In other words, the encoding *is* known; the user should
specify it explicitly so that Emacs doesn't select the wrong encoding
accidentally.


    Werner
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.