cygpath codepage problem
Corinna Vinschen
corinna-cygwin@cygwin.com
Tue May 21 11:35:00 GMT 2013
On May 21 11:35, Corinna Vinschen wrote:
> 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.
I just created the 2013-05-21 snapshot.
HTH,
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
More information about the Cygwin
mailing list