[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#246398: locales: LC_CTYPE defaults to non-installed en_US.UTF8



On Tue, May 04, 2004 at 11:50:07AM -0700, Blars Blarson wrote:
> reassign 246398 xterm
> thanks
> 
> On Tue, May 04, 2004 at 07:38:18AM +0200, Denis Barbier wrote:
> > Your original bugreport is about LC_CTYPE being set to en_US.UTF-8, did
> > you find where it is set in your dot files?
> > It looks like some program makes something wrong, but we do not know
> > which one.
> 
> I tracked down what is setting LC_CTYPE: /usr/X11R6/bin/uxterm
> Sorry I didn't think to check outside of X before.
> 
> There is even a comment about possibly not having a UTF8 enviornment
> available.  On Debian, it is possible to check /etc/locale.gen.

That's not the right answer; I'm pretty sure the (GNU) C library
supports function calls to inquire as to whether a given locale is
supported.

If some of those function calls are available in a simple shell utility,
I'd be happy to patch the uxterm shell script accordingly.  I might even
be able to write it portably enough that it will be accepted upstream by
Mr. Dickey.

-- 
G. Branden Robinson                |       Psychology is really biology.
Debian GNU/Linux                   |       Biology is really chemistry.
branden@debian.org                 |       Chemistry is really physics.
http://people.debian.org/~branden/ |       Physics is really math.

Attachment: signature.asc
Description: Digital signature


Reply to: