Is the Python binding for ncurses unicode capable?

Thomas Dickey dickey at saltmine.radix.net
Thu Jan 19 18:47:02 EST 2006


"Martin v. Löwis" <martin at v.loewis.de> wrote:

> ncurses expects byte strings (although I'm uncertain as to what
> impact multi-byte encodings have in ncurses).

It depends on whether python's curses binding is linked with the wide-character
flavor (ncursesw) or the normal one.  If it's linked with ncursesw, strings are
interpreted according to the locale settings.

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



More information about the Python-list mailing list