From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: bug#27068: 25.2; org-odt-export-to-odt error when filename contains Chinese chars Date: Sun, 03 Dec 2017 16:56:03 +0100 Message-ID: <87lgijbyb0.fsf@nicolasgoaziou.fr> References: <201705251638331075348@china-hicloud.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLWdf-0002js-2v for emacs-orgmode@gnu.org; Sun, 03 Dec 2017 10:57:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eLWda-0003JZ-Pp for emacs-orgmode@gnu.org; Sun, 03 Dec 2017 10:57:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:34888) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eLWda-0003JQ-Mc for emacs-orgmode@gnu.org; Sun, 03 Dec 2017 10:57:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eLWda-0005uD-CC for emacs-orgmode@gnu.org; Sun, 03 Dec 2017 10:57:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <201705251638331075348@china-hicloud.com> (steven's message of "Thu, 25 May 2017 16:38:34 +0800") 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: "steven.yang@china-hicloud.com" Cc: 27068@debbugs.gnu.org Hello, "steven.yang@china-hicloud.com" writes: > When execute `org-odt-export-to-odt` command, if the org filename > contains Chinese, and under Windows 7 OS default encoding GBK. An error > occurs that the zipped obt file's name is not correct. I think we > can change the following codes: > ox-odt.el line: 4067 > (target-name (file-name-nondirectory target)) -> > (target-name "temp.odt") I cannot reproduce it. More specifically, I created a file named "=E7=AB=A5= .org", added "* Headline" in it and exported it to ODT without problem. Could you provide a recipe for the issue you are encountering? If you are not able to reproduce it anymore, could you tell me so I can close this bug? Thank you. Regards, --=20 Nicolas Goaziou 0x80A93738