emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Giovanni Ridolfi <giovanni.ridolfi@yahoo.it>
To: Paul Mead <paul.d.mead@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Strange character inserted by org-capture
Date: Thu, 11 Nov 2010 15:39:45 +0100	[thread overview]
Message-ID: <83y68zapqm.fsf@yahoo.it> (raw)
In-Reply-To: <878w10f89g.fsf@gmail.com> (Paul Mead's message of "Thu, 11 Nov 2010 10:46:03 +0000")

Paul Mead <paul.d.mead@gmail.com> 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|supplier2|supplier3} %^{Account} invoice %^{Invoice number} - £%^{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 £ sign.

Also my template with the "÷" character showed the same behaviour.

I think it's a problem of file encoding. 

+ Is your .emacs utf-8? I mean the file where you store the 
                       "(setq org-capture-templates (quote"
+ is invoicing.org utf-8?

C-x RET f utf-8   # change file encoding

hth
Giovanni

  reply	other threads:[~2010-11-11 14:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-11 10:46 Strange character inserted by org-capture Paul Mead
2010-11-11 14:39 ` Giovanni Ridolfi [this message]
2010-11-11 14:56   ` Eric S Fraga
2010-11-11 15:19   ` Paul Mead

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83y68zapqm.fsf@yahoo.it \
    --to=giovanni.ridolfi@yahoo.it \
    --cc=emacs-orgmode@gnu.org \
    --cc=paul.d.mead@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).