Re: default codepage

2009-06-23 Thread Thomas Wolff
Eric Blake wrote: > > > > > But wait - yet here's my question: Why is there a difference between > > > bash --login > > > and > > > bash > > > - where in the latter case CP1252 (or the default ANSI codepage) > > > *is* still the default? > > It must be that one of your startup scripts is ch

Re: default codepage

2009-06-23 Thread Eric Blake
Corinna Vinschen cygwin.com> writes: > wcwidth for the "C" locale returns the standard non-CJK values. The > return values for wcwidth only depend on language and the @cjknarrow > modifier, not on the charset. Well, technically the @cjknarrow modifier IS part of the codeset. > > > But wait -

Re: default codepage

2009-06-23 Thread Corinna Vinschen
On Jun 23 17:04, Thomas Wolff wrote: > > I tested this myself and now I understand what you mean. The console > > seems to use ISO-8859-1, but actually it doesn't. What happens is this: > > The console I/O functions are using UTF-16 under the hood, so each > > incoming character is converted to U

Re: default codepage

2009-06-23 Thread Thomas Wolff
> > > > On Jun 22 16:48, Thomas Wolff wrote: > > > > > Since the latest locale-related changes, the default codepage after > > > > > starting cygwin _without_ explicit setting (of a locale variable) > > > > > seems to have changed from C

Re: default codepage

2009-06-23 Thread Corinna Vinschen
On Jun 23 16:06, Corinna Vinschen wrote: > On Jun 23 15:45, Thomas Wolff wrote: > > Corinna Vinschen wrote: > > > On Jun 22 16:48, Thomas Wolff wrote: > > > > Since the latest locale-related changes, the default codepage after > > > > starting cygw

Re: default codepage

2009-06-23 Thread Corinna Vinschen
On Jun 23 15:45, Thomas Wolff wrote: > Corinna Vinschen wrote: > > On Jun 22 16:48, Thomas Wolff wrote: > > > Since the latest locale-related changes, the default codepage after > > > starting cygwin _without_ explicit setting (of a locale variable) > > &g

Re: default codepage

2009-06-23 Thread Thomas Wolff
Corinna Vinschen wrote: > On Jun 22 16:48, Thomas Wolff wrote: > > Since the latest locale-related changes, the default codepage after > > starting cygwin _without_ explicit setting (of a locale variable) > > seems to have changed from CP1252 ("Windows ANSI"

Re: default codepage

2009-06-22 Thread Corinna Vinschen
On Jun 22 16:48, Thomas Wolff wrote: > Since the latest locale-related changes, the default codepage after > starting cygwin _without_ explicit setting (of a locale variable) > seems to have changed from CP1252 ("Windows ANSI") to ISO 8859-1 ("Latin 1"). > Was th

default codepage

2009-06-22 Thread Thomas Wolff
Since the latest locale-related changes, the default codepage after starting cygwin _without_ explicit setting (of a locale variable) seems to have changed from CP1252 ("Windows ANSI") to ISO 8859-1 ("Latin 1"). Was this change on purpose? Maybe the previous default sho