"C" UTF-8 trouble

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Oct 7 16:25:00 GMT 2009

On Oct  7 14:50, Andy Koppe wrote:
> 2009/10/7 Corinna Vinschen:
> > $ ./nll
> > ANSI_X3.4-1968
> I guess that's supposed to mean "ASCII"? Aargh.

Yes, that's ASCII for you on Linux :)

Funny enough, Solaris 10 returns... not "ASCII", not "US-ASCII", not
"ANSI_X3.4-1968"..., no, it returns "646".  That's the ISO number, afaik.
It also returns "ISO8859-1" instead of "ISO-8859-1".  I'm not overly
concerned about returning not exactly what Linux returns right now.

> > At least, from the above it looks like all uppercase.  The KOI8s would
> > be covered by a translation table.
> >
> > The problem is, we *must* draw a line somewhere.
> I agree, better to just stick with __locale_charset(), unless problems
> do arise. FWIW, vim works fine with *.KOI8 locales.

That's good.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

More information about the Cygwin-developers mailing list