codepage:utf8... do we still need it?

Charles Wilson cygwin@cwilson.fastmail.fm
Wed Mar 18 05:12:00 GMT 2009


Corinna Vinschen wrote:
> Does anybody have an idea if we could get rid of codepage:ansi/oem
> entirely?  Do we need it at all?  I'm not quite sure what the OEM
> codepage is still good for.  I'm wondering if using the ANSI code page
> in case __locale_charset () isn't UTF-8 should be sufficient, now that
> all file and console operations are using wide char functions anyway.
> But that's the problem, I'm not at all sure I understand that right.

The only thing I can think of, is that you used to have to set
codepage:oem in order to get linedraw characters in ncurses-based
applications, when running in a cmd box.

I just tried it in all six modes:
  codepage:ansi
  codepage:oem    x  cygwin-1.5
   <nothing>         cygwin-1.7

and I got the box characters in every case. So, THAT isn't a reason to
keep codepage: around.

--
Chuck



More information about the Cygwin-developers mailing list