diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index e4b0dcf28..4ab5be267 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -952,7 +952,7 @@ when specified inputenc option is \"AUTO\". Return the new header, as a string." (let* ((cs (or (ignore-errors (latexenc-coding-system-to-inputenc - buffer-file-coding-system)) + (or org-export-coding-system buffer-file-coding-system))) "utf8"))) (if (not cs) header ;; First translate if that is requested.