GNU bug report logs - #65300
29.1; fail to start process under a directory with foreign characters

Previous Next

Package: emacs;

Reported by: awrhygty <at> outlook.com

Date: Tue, 15 Aug 2023 04:10:01 UTC

Severity: normal

Tags: wontfix

Found in version 29.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: awrhygty <at> outlook.com
Cc: 65300 <at> debbugs.gnu.org
Subject: bug#65300: 29.1; fail to start process under a directory with foreign characters
Date: Tue, 15 Aug 2023 14:10:52 +0300
tags 65300 wontfix
close 65300
thanks

> From: awrhygty <at> outlook.com
> Date: Tue, 15 Aug 2023 13:09:15 +0900
> 
> 
> If 'default-directory contains characters not encodable with local
> language encoding(cp932 for Japanese Windows OS),
> #'start-process fails to start subprocess.
> 
> For example, set 'default-directory to "c:/tmp/test丄" and 'M-x shell'
> fails with the error message:
>   start-process: Spawning child process: Exec format error

This is a known limitation of starting subprocesses from Emacs on
Windows: we only support running them in directories and with
command-line arguments that can be encoded by the system codepage.
The reasons are explained in a large comment that starts around line
1570 of src/w32.c.

Sorry.




This bug report was last modified 1 year and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.