GNU bug report logs - #27068
25.2; org-odt-export-to-odt error when filename contains Chinese chars

Previous Next

Package: org-mode;

Reported by: "steven.yang <at> china-hicloud.com" <steven.yang <at> china-hicloud.com>

Date: Thu, 25 May 2017 15:32:03 UTC

Severity: normal

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27068 in the body.
You can then email your comments to 27068 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#27068; Package emacs. (Thu, 25 May 2017 15:32:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to "steven.yang <at> china-hicloud.com" <steven.yang <at> china-hicloud.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 25 May 2017 15:32:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "steven.yang <at> china-hicloud.com" <steven.yang <at> china-hicloud.com>
To: bug-gnu-emacs <bug-gnu-emacs <at> gnu.org>
Subject: 25.2; org-odt-export-to-odt error when filename contains Chinese chars
Date: Thu, 25 May 2017 16:38:34 +0800
[Message part 1 (text/plain, inline)]
*** E-Mail body has been placed on clipboard, please paste it here! *** 


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")


In GNU Emacs 25.2.1 (x86_64-w64-mingw32)
 of 2017-04-25 built on LAPHROAIG
Windowing system distributor 'Microsoft Corp.', version 6.1.7601
Configured using:
 'configure --without-dbus --without-compress-install 'CFLAGS=-O2
 -static -g3''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS

Important settings:
  value of $LANG: CHS
  locale-coding-system: cp936



Steven Yang     Technical Supervisor      Application Dev Department   
       杨稳                技术主管                           应用开发部
-----------------------------------------------------------------------------------------------------------------------
中智浩云科技有限公司
China HiCloud Co.,Ltd. 
上海市江场三路78号708室,邮编 200436
Tel: 021-36560688
Mail:steven.yang <at> china-hicloud.com
Web:www.china-hicloud.com
-----------------------------------------------------------------------------------------------------------------------
[Message part 2 (text/html, inline)]
[15347_15347_image001(0(01-12-10-50-49).png (image/png, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27068; Package emacs. (Thu, 25 May 2017 16:01:02 GMT) Full text and rfc822 format available.

Message #8 received at 27068 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: "steven.yang\@china-hicloud.com" <steven.yang <at> china-hicloud.com>
Cc: 27068 <at> debbugs.gnu.org
Subject: Re: bug#27068: 25.2;
 org-odt-export-to-odt error when filename contains Chinese chars
Date: Thu, 25 May 2017 18:59:58 +0300
> Date: Thu, 25 May 2017 16:38:34 +0800
> From: "steven.yang <at> china-hicloud.com" <steven.yang <at> china-hicloud.com>
> 
> 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")

Please report this to Org maintainers first.




bug reassigned from package 'emacs' to 'org-mode'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 25 May 2017 16:29:02 GMT) Full text and rfc822 format available.

bug No longer marked as found in versions 25.2. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 25 May 2017 16:29:02 GMT) Full text and rfc822 format available.

Information forwarded to emacs-orgmode <at> gnu.org:
bug#27068; Package org-mode. (Sun, 03 Dec 2017 15:57:02 GMT) Full text and rfc822 format available.

Message #15 received at 27068 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: "steven.yang\@china-hicloud.com" <steven.yang <at> china-hicloud.com>
Cc: 27068 <at> debbugs.gnu.org
Subject: Re: bug#27068: 25.2;
 org-odt-export-to-odt error when filename contains Chinese chars
Date: Sun, 03 Dec 2017 16:56:03 +0100
Hello,

"steven.yang <at> china-hicloud.com" <steven.yang <at> 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 "童.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,

-- 
Nicolas Goaziou                                                0x80A93738




Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Sat, 07 Jul 2018 11:15:02 GMT) Full text and rfc822 format available.

Notification sent to "steven.yang <at> china-hicloud.com" <steven.yang <at> china-hicloud.com>:
bug acknowledged by developer. (Sat, 07 Jul 2018 11:15:02 GMT) Full text and rfc822 format available.

Message #20 received at 27068-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: "steven.yang\@china-hicloud.com" <steven.yang <at> china-hicloud.com>
Cc: 27068-done <at> debbugs.gnu.org
Subject: Re: bug#27068: 25.2;
 org-odt-export-to-odt error when filename contains Chinese chars
Date: Sat, 07 Jul 2018 13:13:59 +0200
Nicolas Goaziou <mail <at> nicolasgoaziou.fr> writes:

> I cannot reproduce it. More specifically, I created a file named "童.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?

I'm closing this report since there was no answer from the OP. I assume
the issue is fixed.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 04 Aug 2018 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 259 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.