all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#13515: 24.3.50; file-name operating functions are broken on Japanese Windows
@ 2013-01-21 13:48 Kazuhiro Ito
  2013-01-22 12:13 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Kazuhiro Ito @ 2013-01-21 13:48 UTC (permalink / raw)
  To: 13515

The below code returns unexpected result in turnk on Windows.

(let ((file-name-coding-system 'cp932))
  (expand-file-name "表" "C:/"))

-> "c:/\225/"

dostounix_filename does not support cp932 encoded string, which could
contain '\\' as the part of Kankji characters.  By the fix for
Bug#12933, dostounix_filename could receive such string.  In
addition, that change also let the below code fail.

(let ((file-name-coding-system 'cp1252))
  (expand-file-name "漢字" "C:/"))

-> "c:/  "

-- 
Kazuhiro Ito





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

end of thread, other threads:[~2013-01-23 16:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-21 13:48 bug#13515: 24.3.50; file-name operating functions are broken on Japanese Windows Kazuhiro Ito
2013-01-22 12:13 ` Eli Zaretskii
2013-01-22 13:27   ` Eli Zaretskii
2013-01-23  9:39     ` Kazuhiro Ito
2013-01-23 16:13       ` Eli Zaretskii
2013-01-23 16:54         ` Eli Zaretskii
2013-01-23  9:38   ` Kazuhiro Ito
2013-01-23 16:21     ` Eli Zaretskii

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.