bug-ncurses
[Top][All Lists]
Advanced

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

Re: LANG env var


From: Thomas Dickey
Subject: Re: LANG env var
Date: Wed, 15 Feb 2006 13:06:47 -0500 (EST)

On Wed, 15 Feb 2006, Bob Rossi wrote:

Hi,

Does anyone know if ncurses looks at and uses the LANG environment
variable?

yes/no: ncurses expects that the application has called setlocale()
to use the desired locale.  That function takes into account $LANG
and related variables.


I have someone reporting this:
 I was wondering if it would be hard to fix cgdb to work better
 with a UTF-8 code page.  My locale is "en_US.UTF-8" and when I
 run cgdb the source file on the top half has a ~� at the left
 instead of just a ~.  Not a big deal, but I was just curious
 about it.

offhand, google indicates cgdb is a termcap application and is not
relying on ncurses to solve this problem.

Should the curses applications be dealing with this problem? or is it an
ncurses/terminal problem like the TERM env var is?

Thanks,
Bob Rossi


_______________________________________________
Bug-ncurses mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-ncurses


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

reply via email to

[Prev in Thread] Current Thread [Next in Thread]