From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Ridolfi Subject: Re: Strange character inserted by org-capture Date: Thu, 11 Nov 2010 15:39:45 +0100 Message-ID: <83y68zapqm.fsf@yahoo.it> References: <878w10f89g.fsf@gmail.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=44111 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGYJN-0003uy-8M for emacs-orgmode@gnu.org; Thu, 11 Nov 2010 09:39:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGYJK-0005qm-89 for emacs-orgmode@gnu.org; Thu, 11 Nov 2010 09:39:37 -0500 Received: from nm7.bullet.mail.ukl.yahoo.com ([217.146.182.248]:27187) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PGYJJ-0005qB-Vj for emacs-orgmode@gnu.org; Thu, 11 Nov 2010 09:39:34 -0500 In-Reply-To: <878w10f89g.fsf@gmail.com> (Paul Mead's message of "Thu, 11 Nov 2010 10:46:03 +0000") 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: Paul Mead Cc: emacs-orgmode@gnu.org Paul Mead writes: Hi, Paulm > > I have the following setup in org-capture: > > (setq org-capture-templates (quote ( > ("i" "Invoice" entry (file+headline "= ~/My Dropbox/gtd/invoicing.org" "Invoicing") > "* TODO %^{Supplier|supplier1|suppli= er2|supplier3} %^{Account} invoice %^{Invoice number} - =C2=A3%^{Amount Ex = VAT} - %^{Date (dd mmm yy)}\n%u" > )))) > > I am experiencing some strange behaviour when using the last option > (Invoice) on my XP machine. The template inserts a strange character (I > don't recognise it but it looks like an upper case A with a symbol above > it) immediately before the =C2=A3 sign. Also my template with the "=C3=B7" character showed the same behaviour. I think it's a problem of file encoding.=20 + Is your .emacs utf-8? I mean the file where you store the=20 "(setq org-capture-templates (quote" + is invoicing.org utf-8? C-x RET f utf-8 # change file encoding hth Giovanni