This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Q: Is anybody here using the CYGWIN=codepage:oem setting?


On 3/19/2009 12:22 PM, Corinna Vinschen wrote:
On Mar 19 20:20, Corinna Vinschen wrote:
On Mar 19 11:48, David Rothenberger wrote:
Not exactly.  However, assuming you have a file using characters which
are not in your current ANSI codeset, then you could only manipulate
that file when setting LANG="xx_YY.UTF-8", and only in applications
which call setlocale().
I have no idea whether du calls setlocale() or not. I think you're saying that today, with codepage:utf8, it is able to get sizes for files using non-ANSI characters, but if codepage is removed, it would not be able to do so unless it called setlocale(). Is that right?
Right.

That seems bad.


...unless Cygwin itself would call setlocale().

Or maybe the codepage could default to UTF-8 if setlocale() isn't called?


--
David Rothenberger  ----  daveroth@acm.org

Pandora's Rule:
        Never open a box you didn't close.


-- 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]