--- Begin Message ---
Subject: |
24.3.50; file-name operating functions are broken on Japanese Windows |
Date: |
Mon, 21 Jan 2013 22:48:44 +0900 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/24.3.50 (i386-mingw-nt6.1.7601) MULE/6.0 (HANACHIRUSATO) |
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
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#13515: 24.3.50; file-name operating functions are broken on Japanese Windows |
Date: |
Wed, 23 Jan 2013 18:54:32 +0200 |
> Date: Wed, 23 Jan 2013 18:13:04 +0200
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden
>
> > > Please try the changes below (relative to the emacs-24 branch). If no
> > > issues are found with them, I will soon install them on the release
> > > branch.
> >
> > As far as I tested, the problem was fixed. Thank you.
>
> Thanks, installed as revision 111194 on the emacs-24 branch.
Closing the bug.
--- End Message ---