python+ncurses: I can't display accents

Fabrice DELENTE fdelente at mail.cpod.fr
Fri Jan 26 16:50:26 EST 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?

-- 
Fabrice DELENTE



More information about the Python-list mailing list