From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: [org-e-latex] Coding System Date: Mon, 19 Nov 2012 14:33:22 +0100 Message-ID: <20121119133322.GC27658@kuru.dyndns-at-home.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaRTd-0002R9-UR for emacs-orgmode@gnu.org; Mon, 19 Nov 2012 08:33:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaRTa-00089f-SE for emacs-orgmode@gnu.org; Mon, 19 Nov 2012 08:33:29 -0500 Received: from mail-ee0-f41.google.com ([74.125.83.41]:62543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaRTa-00087e-LR for emacs-orgmode@gnu.org; Mon, 19 Nov 2012 08:33:26 -0500 Received: by mail-ee0-f41.google.com with SMTP id d41so3342203eek.0 for ; Mon, 19 Nov 2012 05:33:25 -0800 (PST) Content-Disposition: inline In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Mon, Nov 19, 2012 at 07:28:30AM +0000, Achim Gratz wrote: > When the new exporter produces a TeX file that contains unicode characters, > Emacs tries to save this file with coding systems `undecided-unix“ and > `iso-latin1-unix“, both of which don't work of course (and the latter would > likely be wrong for some characters). While it should be possible to change the > default coding systems to use, it would certainly be better if the exporter took > note of the > > \usepackage[utf8]{inputenc} > > and alter the coding system for saving the TeX file accordingly. > This is not an answer to the issue above; but if you are using utf-8, should you not already be having something like this in your init file? (prefer-coding-system 'utf-8) This should circumvent the problem. Cheers, -- Suvayu Open source is the future. It sets us free.