Is the Python binding for ncurses unicode capable?
"Martin v. Löwis"
martin at v.loewis.de
Fri Jan 20 07:06:28 CET 2006
Thomas Dickey 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.
Are you sure? According to ncurses' INSTALL file, the purpose of
ncursesw is to provide wide character support, not locale support.
It's two libraries just for binary compatibility issues.
More information about the Python-list