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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 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 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