From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#28180: [w32] Unicode characters in subprocess (git) arguments changed to space Date: Tue, 29 Aug 2017 18:06:01 -0400 Message-ID: References: <87d17oba8j.fsf@users.sourceforge.net> <83y3qbabzw.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1504044516 12857 195.159.176.226 (29 Aug 2017 22:08:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 29 Aug 2017 22:08:36 +0000 (UTC) Cc: 28180@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 30 00:08:32 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmogN-0002v6-UI for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Aug 2017 00:08:28 +0200 Original-Received: from localhost ([::1]:47241 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmogU-0001Bh-OF for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Aug 2017 18:08:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmof6-0000Gk-0y for bug-gnu-emacs@gnu.org; Tue, 29 Aug 2017 18:07:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmof1-0002U5-2k for bug-gnu-emacs@gnu.org; Tue, 29 Aug 2017 18:07:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52538) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dmof0-0002Tx-V5 for bug-gnu-emacs@gnu.org; Tue, 29 Aug 2017 18:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dmof0-0006Fo-6F for bug-gnu-emacs@gnu.org; Tue, 29 Aug 2017 18:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Aug 2017 22:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28180 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28180-submit@debbugs.gnu.org id=B28180.150404437223985 (code B ref 28180); Tue, 29 Aug 2017 22:07:02 +0000 Original-Received: (at 28180) by debbugs.gnu.org; 29 Aug 2017 22:06:12 +0000 Original-Received: from localhost ([127.0.0.1]:32986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmoeB-0006Em-C5 for submit@debbugs.gnu.org; Tue, 29 Aug 2017 18:06:11 -0400 Original-Received: from mail-oi0-f41.google.com ([209.85.218.41]:33849) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmoe8-0006EY-5h for 28180@debbugs.gnu.org; Tue, 29 Aug 2017 18:06:08 -0400 Original-Received: by mail-oi0-f41.google.com with SMTP id w10so38415319oie.1 for <28180@debbugs.gnu.org>; Tue, 29 Aug 2017 15:06:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=bRpN0mkKHMuYEgR+TarcpOXLPoF2AxiXOcSdOQtuHME=; b=gPd1gqJtr0vmtDqhsya77fHrWgqHtMCnUF2JrYNwWGBfPg1OnIdk/I+i6UEWzyjNl0 XGgIJOL+joT3ZBtA+z1wTeVR/sTMC+syjsE08U7m1qB35ptZkFy8VjL6JcMt14vss3nh 6HC9hCQ5Qr25GQHNjpn8v5dbwG04MPlXCX13rtebXA6FX2FSOOIoElVXX30scn05Tabw azLy6EKP+thjr+SDO1lkMZh96VlsVwm/MP1+G0Toy7Y5kZ7OsRDtbLB1e6PEnhq9Mr0+ RL0PJFshqX5TnzALGy5fFXhNRExUOGOP9CuUs0fwBukdPiegf9VeIlzgpr9S1+S76rFj Qrbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=bRpN0mkKHMuYEgR+TarcpOXLPoF2AxiXOcSdOQtuHME=; b=LZbC+7dmaKIO1fAz/+1kKcEUcRghcByt7g/dNfxNJ9exDgQ3gWt5t2gKbvcD98oXht w7Rq9QodSubp66E+TzFy5PVT/1KcJVTPzgomNBAUUy8UnHCTUeesenIOdSS8JN75RS7J V1+hYKbNexg4fwHQyiU2B4fw7t9VRiCyOi2jnKJcGtgfL6UdaFZuon5SQGuLP2UCnN2H mnE5/COPOSKyEi/VSG8TjJmeG///taW+iw9rrPRh+cHZlTwhYpZrjb4f/uzzjPSXIRKd pQkxhBHDVFCSLY4wF/w/gn2jG37lWunC3unVW87wH2mfQ/430Ak63fVTmvgGQ9imRLuc yhGw== X-Gm-Message-State: AHYfb5gHkI51a/nhIy2RFwGMGCjWuKFhBgPMaR36HbKW4PzPRAFqpZNI V25VmdJFR5i/jB/98MHswRKO6PbOPA== X-Received: by 10.202.117.78 with SMTP id q75mr1530210oic.247.1504044362534; Tue, 29 Aug 2017 15:06:02 -0700 (PDT) Original-Received: by 10.74.17.199 with HTTP; Tue, 29 Aug 2017 15:06:01 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: e2zKye2abO5_nD7p02jsrFa7mfs X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:136362 Archived-At: On Mon, Aug 28, 2017 at 10:42 AM, Noam Postavsky 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.