From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Extracting agenda information: what encoding? Date: Mon, 12 Oct 2009 10:18:18 +0200 Message-ID: <7F44A486-71D8-497B-9E09-1F07D05755BD@gmail.com> References: <2a382c6e0910111322t3feed4edif40c3b7185775a5b@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MxG6w-0006QE-4X for emacs-orgmode@gnu.org; Mon, 12 Oct 2009 04:18:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MxG6q-0006OO-HG for emacs-orgmode@gnu.org; Mon, 12 Oct 2009 04:18:28 -0400 Received: from [199.232.76.173] (port=48031 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxG6q-0006OF-DG for emacs-orgmode@gnu.org; Mon, 12 Oct 2009 04:18:24 -0400 Received: from ey-out-1920.google.com ([74.125.78.149]:62097) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MxG6q-0003QW-3y for emacs-orgmode@gnu.org; Mon, 12 Oct 2009 04:18:24 -0400 Received: by ey-out-1920.google.com with SMTP id 3so7718764eyh.34 for ; Mon, 12 Oct 2009 01:18:22 -0700 (PDT) In-Reply-To: <2a382c6e0910111322t3feed4edif40c3b7185775a5b@mail.gmail.com> 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: Dave Milter Cc: emacs-orgmode@gnu.org Hi DAve, I have little knowledge about coding systems myself. Could you please let me know, what if the value of `buffer-file-coding- system' in an agenda buffer, when you create the agenda by hand? Thanks. - Carsten On Oct 11, 2009, at 10:22 PM, Dave Milter wrote: > I try this from manual( > http://orgmode.org/manual/Extracting-agenda-information.html#Extracting-agenda-information) > : > > emacs -batch -l ~/.emacs -eval '(org-batch-agenda "a")' > > and get some garbage on place of not English letters, > > encoding guessing software tell me that it is > "Doubly-encoded to UTF-8 from ISO-8859-5", but I unable to recover > text from it. > > I used Linux with utf-8 locale, I never faced with encoding problems > in emacs (emacs 23), for example > (message "some not English text") print right message to console > if I call it using emacs -batch, > > so I have no guess, why org-mode convert my utf-8 text to some strange > encoding, the same thing happened on another machine > with emacs 22, utf-8 locale and completly empty ".emacs" (a couple of > lines only). > > May I should set utf-8 somewhere in org-mode preferences? > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten