unofficial mirror of bug-gnu-emacs@gnu.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
  0 siblings, 1 reply; 2+ 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] 2+ 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
  0 siblings, 0 replies; 2+ 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] 2+ messages in thread

end of thread, other threads:[~2017-05-25 15:59 UTC | newest]

Thread overview: 2+ 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

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).