Re: Is the Python binding for ncurses unicode capable?



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.

Regards,
Martin
.