|
From: | Lennart Borgman |
Subject: | Re: Several small bugs with Swedish Ä in path na mes |
Date: | Tue, 29 Nov 2005 22:42:19 +0100 |
User-agent: | Mozilla Thunderbird 1.0.7 (Windows/20050923) |
Jason Rumney wrote:
Doing chcp 1252 in the interactive shell running cmd.exe helps a little bit. Swedish Ä is now shown as just that letter. However it is not recognized on input. Something strange is happening on input, both after and before chcp 1252. If I typeLennart Borgman wrote:2) In an interactive shell (M-x shell) running cmd.exe the Ä in the path is shown as \216. However using Cygwin bash.exe for the shell the letter is shown correctly.You probably need the process-coding-system set to cp850 for cmd.exe, or force cmd.exe to use cp1252 with the command chcp.
prompt> cd Ä (swedish letter A with two dots above) TAB then this is completed to Ägaren/. After typing return I get cd Ägaren/ The system can not find the path specifiedfrom cmd.exe. The cd command fails. Trying to complete like above also fails after this - now I get "No completions of Ä" from Emacs.
Another note: The "dir" command shows \216 for Ä, but ls.exe from GnuWin32 displays the letter correctly.
I can not see any difference after (setq process-coding-system-alist (cons (cons "cmd\\.exe\\'" 'cp850) nil)).
[Prev in Thread] | Current Thread | [Next in Thread] |