Q: Is anybody here using the CYGWIN=codepage:oem setting?
David Rothenberger
daveroth@acm.org
Thu Mar 19 20:31:00 GMT 2009
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/
More information about the Cygwin
mailing list