Cygwin and nedit locale

Joerg Fischer jf505 at gmx.de
Fri Jul 6 11:20:38 CEST 2007


Hi,

I'd like to get locale working for nedit under cygwin.  (Having locale
set to C is rather weak, because \l is just a-zA-Z and tolower/toupper
also work only for \l. At least en_US, ie latin-1 or 8bit would be
nice.)  

Now I removed -DNO_XMIM from Makefile.cygwin, but I see no difference.
Locale get always set to C.  I can't see no warning messages a la
locale not supported, either.  (Shouldn't they be there - the ones
issued from nedit.c?)  I tried to set the variables

export LANG=en_US
export LOCPATH=/cygdrive/c/cygwin/bin/locale
export C_LOCALE=/cygdrive/c/cygwin/bin/locale
export LC_CTYPE=en_US

where I copied en_US/ from a Linux distro.  

But I must admit that I'm a little bit confused, because there are
things like C locale, X locale, POSIX locale...  I also wasn't able to
locate any LC_CTYPE files (these seem to be the ones for regex \l and
tolower/toupper) in my Cygwin tree, that's why I copied en_US/ from
/usr/lib/locale of a Linux distribution.

Does anyone knows more?  Has anyone locale working under Cygwin?  What
am I doing wrong?

Cheers,
Jörg



More information about the Discuss mailing list