X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Lenik Subject: Re: Bug: Cygwin won't export environ vars to win32 programs, when the current work dir contains non-ascii characters. Date: Sat, 09 May 2009 11:42:28 +0800 Lines: 40 Message-ID: References: <49F80DBF DOT 7080300 AT bodz DOT net> <20090504084311 DOT GB21324 AT calimero DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2 In-Reply-To: <20090504084311.GB21324@calimero.vinschen.de> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 2009-5-4 16:43, Corinna Vinschen wrote: > On Apr 29 16:20, Lenik wrote: >> (Following example is based on bash, but the same to ash, tcsh, ksh, >> etc., so this should be bug of cygwin.) >> [...] >> (2) With Chinese characters, most variables are lost: >> C:\Profiles\Shecti\??????>bash -c "cmd /c set" >> COMSPEC=C:\WINDOWS\system32\cmd.exe >> PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.JS;.WS >> PROMPT=$P$G >> >> C:\Profiles\Shecti\??????> >> [...] >> "cygwin1.dll" v0.0 ts=2009/1/27 23:49 >> Cygwin DLL version info: >> DLL version: 1.7.0 >> DLL epoch: 19 >> DLL old termios: 5 >> DLL malloc env: 28 >> API major: 0 >> API minor: 192 >> Shared data: 5 >> DLL identifier: cygwin1 >> Mount registry: 3 >> Cygwin registry name: Cygwin >> Program options name: Program Options >> Cygdrive default prefix: >> Build date: Tue Jan 27 16:49:28 CET 2009 >> Shared id: cygwin1S5 > > Try with the latest Cygwin 1.7 DLL. Yours from January still has a bug > which results in a broken environment when using native chars in > environment variables. This bug has been fixed in 1.7.0-46. > > > Corinna > It works. (1.7.0-47) Thank you -- 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/