all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#27068: 25.2; org-odt-export-to-odt error when filename contains Chinese chars
@ 2017-05-25  8:38 steven.yang
  2017-05-25 15:59 ` Eli Zaretskii
  2017-12-03 15:56 ` Nicolas Goaziou
  0 siblings, 2 replies; 4+ messages in thread
From: steven.yang @ 2017-05-25  8:38 UTC (permalink / raw)
  To: 27068


[-- Attachment #1.1: Type: text/plain, Size: 1418 bytes --]

*** 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@china-hicloud.com
Web:www.china-hicloud.com
-----------------------------------------------------------------------------------------------------------------------

[-- Attachment #1.2: Type: text/html, Size: 7281 bytes --]

[-- Attachment #2: 15347_15347_image001(0(01-12-10-50-49).png --]
[-- Type: image/png, Size: 15347 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#27068: 25.2; org-odt-export-to-odt error when filename contains Chinese chars
  2017-05-25  8:38 bug#27068: 25.2; org-odt-export-to-odt error when filename contains Chinese chars steven.yang
@ 2017-05-25 15:59 ` Eli Zaretskii
  2017-12-03 15:56 ` Nicolas Goaziou
  1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2017-05-25 15:59 UTC (permalink / raw)
  To: steven.yang@china-hicloud.com; +Cc: 27068

> Date: Thu, 25 May 2017 16:38:34 +0800
> From: "steven.yang@china-hicloud.com" <steven.yang@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#27068: 25.2; org-odt-export-to-odt error when filename contains Chinese chars
  2017-05-25  8:38 bug#27068: 25.2; org-odt-export-to-odt error when filename contains Chinese chars steven.yang
  2017-05-25 15:59 ` Eli Zaretskii
@ 2017-12-03 15:56 ` Nicolas Goaziou
  2018-07-07 11:13   ` Nicolas Goaziou
  1 sibling, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2017-12-03 15:56 UTC (permalink / raw)
  To: steven.yang@china-hicloud.com; +Cc: 27068

Hello,

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#27068: 25.2; org-odt-export-to-odt error when filename contains Chinese chars
  2017-12-03 15:56 ` Nicolas Goaziou
@ 2018-07-07 11:13   ` Nicolas Goaziou
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2018-07-07 11:13 UTC (permalink / raw)
  To: steven.yang@china-hicloud.com; +Cc: 27068-done

Nicolas Goaziou <mail@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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-07-07 11:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-25  8:38 bug#27068: 25.2; org-odt-export-to-odt error when filename contains Chinese chars steven.yang
2017-05-25 15:59 ` Eli Zaretskii
2017-12-03 15:56 ` Nicolas Goaziou
2018-07-07 11:13   ` Nicolas Goaziou

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.