bug-ncurses
[Top][All Lists]
Advanced

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

Re: utf8


From: Thomas Dickey
Subject: Re: utf8
Date: Thu, 5 Jan 2006 19:55:49 -0500 (EST)

On Thu, 5 Jan 2006, Ricardo Cantu wrote:

It seems that the handling of utf8 chars may have changed between versions 5.4
and 5.5.

The following code would display all the box drawing elements fine in 5.4 but
not in 5.5.

It's a change, but the problem is in your example. The call to setlocale() should be before initscr:

 initscr ();                                          /* Initialize curses */
 noecho ();
 setlocale (LC_ALL, "");

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




reply via email to

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