This is the mail archive of the cygwin-developers 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: "C" UTF-8 trouble


On Oct  7 18:25, Corinna Vinschen wrote:
> 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.

I applied the patch to nl_langinfo so it returns __locale_charset()
now on Cygwin.


Corinna

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


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