From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Milter Subject: Extracting agenda information: what encoding? Date: Mon, 12 Oct 2009 00:22:20 +0400 Message-ID: <2a382c6e0910111322t3feed4edif40c3b7185775a5b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mx4vz-0003eb-Dx for emacs-orgmode@gnu.org; Sun, 11 Oct 2009 16:22:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mx4vu-0003ao-SG for emacs-orgmode@gnu.org; Sun, 11 Oct 2009 16:22:27 -0400 Received: from [199.232.76.173] (port=52822 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mx4vu-0003ad-MH for emacs-orgmode@gnu.org; Sun, 11 Oct 2009 16:22:22 -0400 Received: from mail-fx0-f205.google.com ([209.85.220.205]:59564) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mx4vu-0005GW-Fo for emacs-orgmode@gnu.org; Sun, 11 Oct 2009 16:22:22 -0400 Received: by fxm1 with SMTP id 1so7042680fxm.31 for ; Sun, 11 Oct 2009 13:22:20 -0700 (PDT) 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: emacs-orgmode@gnu.org 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?