bug#81606: Mojibake with UTF-8 file names
Eli Zaretskii <[email protected]>
| Newsgroups | gmane.emacs.bugs |
|---|---|
| Message-ID | <[email protected]> |
> From: Colin Baxter <[email protected]> > Cc: [email protected], [email protected], [email protected] > Date: Tue, 18 Aug 2026 11:24:51 +0100 > > >>>>> Werner LEMBERG <[email protected]> writes: > > >>>> And I still don't think we have a consensus regarding the fix > >>>> for latexenc.el: do we want to decode using UTF-8 or > >>>> 'undecided'? > >>> > >>> My preference is in this message: > >>> > >>> https://lists.gnu.org/archive/html/bug-gnu-emacs/2026-08/msg00877.html > >>> > >>> The second paragraph should read: > >>> > >>> My vote is to go for the utf-8 variant since LaTeX is pushing > >>> users in that direction anyways and newer engines like LuaTeX > >>> require it. > >> > >> Yes, I know. But I'd like to hear at least one more opinion, > >> perhaps Werner could chime in? > > > I also favour UTF-8 encoding as the default. BTW, thanks to both > > on your for working on this! > > What happens if a user sets latexenc-dont-use-TeX-master-flag to true > and has no inputencoding statement or inputenc package set? What I proposed has no effect if latexenc-dont-use-TeX-master-flag is non-nil, because the changes are inside the condition that it is nil. So I don't quite understand what bothers you. > If "undecided" is changed to "utf-8" then presumably that option is > set by default. What is "that option" here? > The user would need to know this. Know what? > Why not leave latexenc.el as it is? "Leave as it is" meaning with the bug reported by Arash? You don't want the bug fixed? Sorry, I'm confused.