www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=2.4 required=5.0 tests=AWL,BAYES_50,BOTNET |
X-Spam-Check-By: | sourceware.org |
Message-id: | <49C281F7.6080602@acm.org> |
Date: | Thu, 19 Mar 2009 10:33:43 -0700 |
From: | David Rothenberger <daveroth AT acm DOT org> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666 |
MIME-version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Q: Is anybody here using the CYGWIN=codepage:oem setting? |
References: | <20090319130909 DOT GZ9322 AT calimero DOT vinschen DOT de> |
In-reply-to: | <20090319130909.GZ9322@calimero.vinschen.de> |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 3/19/2009 6:09 AM, Corinna Vinschen wrote: > If you've set $LANG to, say, "en_US.UTF-8", Cygwin would use the UTF-8 > charset *iff* the application switched the codepage by calling something > along the lines of `setlocale(LC_ALL, "");'. > An application which does not call setlocale (which means, it's not > native language aware anyway) would still use the default ANSI codepage. First, please forgive my ignorance about LC_ALL, LANG, etc. I ran into an issue yesterday where I was trying to "du -sh" a directory that contained files whose names included UTF characters, I think. Without CYGWIN=codepage:utf8, this failed. It worked fine when I added CYGWIN=codepage:utf8. So my question is, will this work if codepage is dropped and I set LANG to en_US.UTF-8? Is there anything in the Cygwin DLL itself that uses codepage that might be valuable to enable even for applications that aren't native language aware and don't call setlocale()? -- David Rothenberger ---- daveroth AT acm DOT org A musician, an artist, an architect: the man or woman who is not one of these is not a Christian. -- William Blake -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |