delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/16/04:12:18

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 16 Oct 2009 10:11:59 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: `cygwinpath -D' could not display the Chinese character
Message-ID: <20091016081159.GQ27964@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <8d7f7110910142129r5f10ec39i48fc3b1e4140b59b AT mail DOT gmail DOT com> <20091015092427 DOT GG27964 AT calimero DOT vinschen DOT de> <20091016101131 DOT 1696 AT binki>
MIME-Version: 1.0
In-Reply-To: <20091016101131.1696@binki>
User-Agent: Mutt/1.5.17 (2007-11-01)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Oct 16 10:11, wynfield wrote:
> 
> 
> The patch would probably solve the same problem for displayging Japanese characters.

I hope so.  The problem was that the "special folders" like the Windows
system directory were still read using the ANSI version of the Win32
function.  This affected all of the options -D, -H, -O, -P, -S, -W.  The
patch fixes that by using the Unicode variation of the function and then
converting the path to the appropriate multibyte representation.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          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