From 57fb6ffa4ddb248a30a883bc20475f0dc5e37b27 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 23 Feb 2013 11:29:45 +0100 Subject: [PATCH] ox-latex: Set inputenc option according to `org-export-coding-system' * lisp/ox-latex.el (org-latex-guess-inputenc): Set inputenc option according to `org-export-coding-system'. --- lisp/ox-latex.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.