From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Re: [Babel] Coding system of tangled files? Date: Mon, 22 Nov 2010 06:20:34 -0700 Message-ID: <87aal1sak8.fsf@gmail.com> References: <801v6ieqjl.fsf@mundaneum.com> <87tyjeheqt.fsf@gmail.com> <80tyj9wmwr.fsf@missioncriticalit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=40832 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKXIX-0006SP-Oi for emacs-orgmode@gnu.org; Mon, 22 Nov 2010 09:23:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKXHi-0006zX-KI for emacs-orgmode@gnu.org; Mon, 22 Nov 2010 09:23:02 -0500 Received: from mail-vw0-f41.google.com ([209.85.212.41]:52258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKXHi-0006z3-Hm for emacs-orgmode@gnu.org; Mon, 22 Nov 2010 09:22:22 -0500 Received: by vws10 with SMTP id 10so3334229vws.0 for ; Mon, 22 Nov 2010 06:22:21 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?utf-8?Q?S=C3=A9bastien?= Vauban Cc: emacs-orgmode@gnu.org S=C3=A9bastien Vauban writes: > ** Two > > After different trials, I came up with the following which works for me... > > Evaluate this: > > #+begin_src emacs-lisp :results silent :tangle no > (add-hook 'org-babel-pre-tangle-hook > (lambda () > (setq coding-system-for-write 'iso-latin-9-unix))) > #+end_src > That's great, I'm happy you found a solution. > > It's not clear to me what's the exact difference between the 2 variables > (=3Dsave-buffer-coding-system=3D and =3Dcoding-system-for-write=3D). But = that works: > I don't know myself, I've never had to dig too deeply into Emacs coding system. Cheers -- Eric > > #+begin_src sh > sva@MEDIACENTER:.../Accounting/dev 0$ doit.sh > accountlog.csv csv2ledger.sh doit.sh ecm-tangle.txt my-csv2ledger.htm= l my-csv2ledger.txt > Mon Nov 22 13:30:12 2010 > #+end_src > > > Best regards, > Seb