X-Recipient: archive-cygwin@delorie.com X-Spam-Check-By: sourceware.org Date: Wed, 13 May 2009 21:50:36 +0200 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8 Message-ID: <20090513195036.GW21324@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <3f0ad08d0905121029j119c8a7ep41d3a261d8bea338@mail.gmail.com> <20090512173741.GZ21324@calimero.vinschen.de> <20090513142953.GI21324@calimero.vinschen.de> <3f0ad08d0905130903o5cf0330enc8025bc92e94225c@mail.gmail.com> <20090513164526.GO21324@calimero.vinschen.de> <3f0ad08d0905131025j3f9a23c4k8c940dee496ee6fd@mail.gmail.com> <20090513174114.GU21324@calimero.vinschen.de> <3f0ad08d0905131213k6c8f1b25h3322f20b5bb80631@mail.gmail.com> <20090513194645.GV21324@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090513194645.GV21324@calimero.vinschen.de> User-Agent: Mutt/1.5.19 (2009-02-20) 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 May 13 21:46, Corinna Vinschen wrote: > On May 14 04:13, IWAMURO Motonori wrote: > > 2009/5/14 Corinna Vinschen : > > > I already wrote that patch, see > > > http://cygwin.com/ml/cygwin-cvs/2009-q2/msg00066.html > > > It seems to do what you are proposing. > > > > I read it and built cygwin1.dll. It seems to work correctly. > > > > Should the following part not be modified? > > > > winsup/cygwin/fhandler_console.cc: > > > dev_state->con_mbtowc = __mbtowc; > > > dev_state->con_wctomb = __wctomb; > > I'd rather not. It only affects the console and if LANG=C I'd rather > see the single bytes which make up the path instead of the corresponding > UTF-8 character. Hm, maybe I misunderstood. In which manner should this be modifed? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/