bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13515: 24.3.50; file-name operating functions are broken on Japanese


From: Kazuhiro Ito
Subject: bug#13515: 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]