Is the Python binding for ncurses unicode capable?

Thomas Dickey dickey at
Fri Jan 20 00:47:02 CET 2006

"Martin v. Löwis" <martin at> 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

More information about the Python-list mailing list