GNU bug report logs - #28180
[w32] Unicode characters in subprocess (git) arguments changed to space

Previous Next

Package: emacs;

Reported by: npostavs <at> users.sourceforge.net

Date: Tue, 22 Aug 2017 02:35:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 28180 <at> debbugs.gnu.org
Subject: bug#28180: [w32] Unicode characters in subprocess (git) arguments changed to space
Date: Tue, 29 Aug 2017 18:06:01 -0400
On Mon, Aug 28, 2017 at 10:42 AM, Noam Postavsky
<npostavs <at> users.sourceforge.net> wrote:

> Just to understand the issue better, I applied the attached diff to
> use CreateProcessW. It seemed to work, but only when I start emacs
> from mingw's msys shell. When running from cmd.exe it still translates
> to space.

Ugh, it's just a stupid mistake on my part, I changed the argument
encoding to utf8 in make-process instead of call-process. It
*appeared* to work because msys sets LANG to en_US.UTF-8.




This bug report was last modified 7 years and 290 days ago.

Previous Next


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