From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.bugs Subject: bug#6705: w32 cmdproxy.c pass args to cygwin; erroneous charset conversion (problem description, solution/suggestion) Date: Thu, 22 Jul 2010 22:33:21 +0800 Message-ID: <87bp9zzivi.fsf@home.jasonrumney.net> References: <4C483A30.9010804@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1279810859 13880 80.91.229.12 (22 Jul 2010 15:00:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 22 Jul 2010 15:00:59 +0000 (UTC) Cc: 6705@debbugs.gnu.org To: Laimonas =?UTF-8?Q?V=C4=97bra?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 22 17:00:57 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ObxGa-0001nv-GY for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Jul 2010 17:00:56 +0200 Original-Received: from localhost ([127.0.0.1]:51638 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObxGZ-0000UW-M4 for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Jul 2010 11:00:55 -0400 Original-Received: from [140.186.70.92] (port=59640 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObxGV-0000UP-6S for bug-gnu-emacs@gnu.org; Thu, 22 Jul 2010 11:00:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObxGQ-0007xE-IR for bug-gnu-emacs@gnu.org; Thu, 22 Jul 2010 11:00:51 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37718) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObxGQ-0007x8-Go for bug-gnu-emacs@gnu.org; Thu, 22 Jul 2010 11:00:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1ObwqX-0001JD-MQ; Thu, 22 Jul 2010 10:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jason Rumney Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Jul 2010 14:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6705 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6705-submit@debbugs.gnu.org id=B6705.12798091905015 (code B ref 6705); Thu, 22 Jul 2010 14:34:01 +0000 Original-Received: (at 6705) by debbugs.gnu.org; 22 Jul 2010 14:33:10 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Obwph-0001Iq-9k for submit@debbugs.gnu.org; Thu, 22 Jul 2010 10:33:09 -0400 Original-Received: from mail-pw0-f44.google.com ([209.85.160.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Obwpe-0001IQ-OH for 6705@debbugs.gnu.org; Thu, 22 Jul 2010 10:33:07 -0400 Original-Received: by pwj1 with SMTP id 1so3150419pwj.3 for <6705@debbugs.gnu.org>; Thu, 22 Jul 2010 07:33:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:from:to:cc :subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type:content-transfer-encoding; bh=OZyRjgnaRS2oGh/b/QMQTL1pxnmjaYN5ud68vp26M5k=; b=GJoq2JNzFm/J3zikoMyISv/znmhnuxy88AmUbJ8Ifj8EGkvgKAqdK/MWtPny71gApX wDeGKuAeZsMn4LiQyQO90C48TCa4zg47MCcXsJl6Aa4eNYWyeoPqEOI3gYnJJI5K+yFa 2N1pNdOXvHSVsg9m4cMIdTJwYhDEnOFcuVlsg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; b=tR1BK7WMFdI6ySLr7L4j93jKo9UAYxCk4gyu6FuaEp0anohZfPUquV2/Rbz5okILx8 K+s85tbJ0ZQ6mtUfrzU2tyHcmE6E9xC5VO/DU3rmayd/t6vWzYrILemj2t44Kak4hzpe j4/BaqiNb/Zk4/xTACG1x6AZB+qXh5Eb5/czk= Original-Received: by 10.142.140.20 with SMTP id n20mr2338664wfd.77.1279809215177; Thu, 22 Jul 2010 07:33:35 -0700 (PDT) Original-Received: from home.jasonrumney.net ([202.87.221.130]) by mx.google.com with ESMTPS id n2sm10476565wfl.13.2010.07.22.07.33.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 22 Jul 2010 07:33:33 -0700 (PDT) Original-Received: by home.jasonrumney.net (Postfix, from userid 1000) id 135A49AF; Thu, 22 Jul 2010 22:33:22 +0800 (MYT) In-Reply-To: <4C483A30.9010804@gmail.com> ("Laimonas =?UTF-8?Q?V=C4=97bra"'s?= message of "Thu, 22 Jul 2010 15:31:44 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 22 Jul 2010 10:34:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38765 Archived-At: Laimonas V=C4=97bra writes: > This problem certainly needs some discussion (how best to solve it) becau= se it addresses unicode communication aspects/issues. If some won't bother = reading all the description, then here is a simple question --=20 > how do one can/should (clearly) pass utf-8 arguments to an external > (cygwin) app on windows? I suppose, now it's not possible. Don't use cmdproxy with Cygwin programs. If you need a shell in between, use Cygwin bash. cmdproxy is a wrapper to get around some problems with various versions of the Windows native cmd.exe and command.com shell programs. Mixing Cygwin and native Windows is not advised.