cursesw+setlocale fixes it! (was: Re: Problem with curses and UTF-8)

Ian Ward ian at excess.org
Thu Feb 9 09:38:21 EST 2006


Damjan wrote:
> import curses, locale
> locale.setlocale(locale.LC_ALL, '')
> s = curses.initscr()

Hey, that works for me.  Combined characters and wide characters are 
working too.

Now the real problem.. how do I convince the python higher-ups to link 
against cursesw by default?

At the very least all distros that use UTF-8 as their default encoding 
should switch to cursesw.

Ian Ward




More information about the Python-list mailing list