[Top][All Lists]

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

Re: Problem with some pseudographic symbols

From: Thomas Dickey
Subject: Re: Problem with some pseudographic symbols
Date: Tue, 9 Aug 2005 09:59:47 -0400 (EDT)

On Tue, 9 Aug 2005, Alexander Kresin wrote:

--- Thomas Dickey <address@hidden> wrote:

Start here:

   #include <locale.h>

#include <ncurses.h>
int main( void )

   setlocale(LC_ALL, "");
 [ ... ]

Great thanks. This really helps. Wonder only why it
worked without it with older releases.

Offhand (I'll have to review this), the logic that would allow the
codes 128-255 to be treated as printable without having a locale set
was a special case - originally because some users said that locale
support wasn't that common yet (1998).  When I was making changes to
implement wide-character support, that (legacy-nolocale) code required
changes, e.g., to suppress it when there _was_ a locale defined.  It's
possible that the interpretation of codes 128-159 changed at that point.

Thomas E. Dickey

reply via email to

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