X-Recipient: archive-cygwin@delorie.com X-Spam-Check-By: sourceware.org Date: Fri, 16 Oct 2009 10:11:59 +0200 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: `cygwinpath -D' could not display the Chinese character Message-ID: <20091016081159.GQ27964@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <8d7f7110910142129r5f10ec39i48fc3b1e4140b59b@mail.gmail.com> <20091015092427.GG27964@calimero.vinschen.de> <20091016101131.1696@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@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.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