delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/05/21/05:36:32

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:content-transfer-encoding
:in-reply-to; q=dns; s=default; b=S5liLnp/7oz/24TR3Uus7Co2juO+ws
CJxHAyCWhfwvUsgtSlO9mXwJxDo4uNKFmS/xbslMZFveLs9q7HSgsKahwhRrHKhk
+95NpILBCExfDFqfW9dVmViqylL7UzYfHrNHpePoe0LcmH+/Xc+pYGTUKco+CMRP
HaZDZZ7lj5l/A=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:content-transfer-encoding
:in-reply-to; s=default; bh=8i1tuokPECg+pCkg6TYOKUDQA+g=; b=Gezd
nfb+1JqfUG7sRlZqT9zHzzZy5mQEVcWa5RXFRrqqjDauyIeSBpiGYH+NgsHlxrLA
sZ7UaR0zN6xf5RxwEgK+T7xOMj9jQD2UfIFNKp9Zzs3pNeYWwh5bA7sNKO2tNBts
IlI7vYVWIsyy94wLjTXpQ1dmzrpgVEUqSEjp5To=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,TW_YG autolearn=ham version=3.3.1
Date: Tue, 21 May 2013 11:35:43 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygpath codepage problem
Message-ID: <20130521093543.GE2406@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <2373031368907015 AT web7h DOT yandex DOT ru>
MIME-Version: 1.0
In-Reply-To: <2373031368907015@web7h.yandex.ru>
User-Agent: Mutt/1.5.21 (2010-09-15)
Note-from-DJ: This may be spam

On May 18 23:56, Dmitry Bolshakov wrote:
> Hi!
> 
> today I've updated cygwin and new cygpath prints incorrect non latin paths
> 
> $ cygpath -V
> cygpath (cygwin) 1.7.18
> Path Conversion Utility
> Copyright (C) 1998 - 2013 Red Hat, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> $ echo $LANG
> ru_RU.UTF-8
> 
> $ cygpath 'D:\Downloads\музыка'
> /cygdrive/d/Downloads/музыка
> 
> ("музыка" means "music" in russian)

Confirmed.  Between 1.7.17 and 1.7.18 there was a non-trivial change in
the build system.  During this transition, an old patch has gone lost.
The result is that the multibyte<->wide char character conversion
functions are loaded from ntdll.dll, rather than from the Cygwin DLL.
Since the ntdll has another idea about the current codeset, the result
is pretty much unusable in terms of non-ASCII characters.

I fixed that in CVS.  The next snapshort from http://cygwin.com/snapshots/
will have the fix, too.


Thanks for the report,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019