From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: orgtable-->csv--> excel coding problems UTF8 Date: Wed, 21 Jun 2017 13:22:06 +0000 Message-ID: <87podxzda9.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNfaO-00047p-A1 for emacs-orgmode@gnu.org; Wed, 21 Jun 2017 09:22:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNfaL-000323-2N for emacs-orgmode@gnu.org; Wed, 21 Jun 2017 09:22:20 -0400 Received: from [195.159.176.226] (port=38998 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dNfaK-00031R-Oa for emacs-orgmode@gnu.org; Wed, 21 Jun 2017 09:22:16 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dNfaB-0007K5-1I for emacs-orgmode@gnu.org; Wed, 21 Jun 2017 15:22:07 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hi Consider | Name | Value | | naciĆ³n | 10 | The small function I wrote (defun org-export-to-xlsx () (interactive) (let* ((source-file (file-name-sans-extension (buffer-file-name (current-buffer)))) (csv-file (concat source-file ".csv"))) (org-table-export csv-file "orgtbl-to-csv") (org-odt-convert csv-file "xlsx"))) Converts to an excel file, when opened with LO has the wrong coding, the same happened to ods. I still can use gnumeric with a different lisp function, but I am puzzled. Any idea? Uwe Brauer