python+ncurses: I can't display accents

Fabrice DELENTE fdelente at
Fri Jan 26 22:50:26 CET 2007

> What happens when you try this?

> stdscr.addstr(0,0, u"leçon".encode('iso8859-15'))

> I don't really expect it to work

And it doesn't...

As support for 8-bit (and even unicode) is important for my script, is there
any hope? Should I switch to slang instead of curses?


More information about the Python-list mailing list