X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4A2051E5.6060600@sidefx.com>
References: <200905281541.33404.michael.renner@gmx.de> 	 <4A1EF2CE.2060509@sidefx.com> 	 <3f0ad08d0905290813m39999f81q918e94e3c960eb3f@mail.gmail.com> 	 <4A200287.8030403@sidefx.com> 	 <3f0ad08d0905290852xe41338alfda89c622f92f677@mail.gmail.com> 	 <4A200BC0.9010704@sidefx.com> 	 <e2480c70905291142o2bcc65ccw2287d175dbd09dd5@mail.gmail.com> 	 <4A204149.2050009@sidefx.com> 	 <e2480c70905291337g6c8bcca7xd0baba79c84629db@mail.gmail.com> 	 <4A2051E5.6060600@sidefx.com>
Date: Sat, 30 May 2009 01:27:21 +0400
Message-ID: <e2480c70905291427g4c81cfc5s2faea37131518cd@mail.gmail.com>
Subject: Re: 1.7.0-48: [BUG] Passing characters above 128 from bash command  	line
From: Alexey Borzenkov <snaury@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Sat, May 30, 2009 at 1:21 AM, Edward Lam <edward@sidefx.com> wrote:
> Here's some more investigation:
[...]
> So note that even when I'm seems to be an UNICODE-AWARE child process, I'm
> still getting a truncated command line. In fact, call GetCommandLineW()
> directly seems to give a truncated command line
> as well.

And again, you must have misunderstood me. In my opinion: truncation
is a bug (should use replacement character, or fail exec altogether),
expecting utf-8 is not (if you tried to cat your copyright.txt on a
Linux box that uses utf-8, what would you expect to see on the
screen?)

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

