Message190519
> I suppose that screen.addstr(0, 0, u"äöü".encode("utf-8")) works.
It works as in "the output looks as the one expected". Long lines with utf8 characters will make it break again though.
screen.addstr(0, 0, "äöü" * 20) # assuming COLUMNS=80
Will give two rows of characters of which the first row is 40 characters long.
> If "_cursessomething.so" is already linked against libncursesw.so.5, the fix is to use waddwstr(), but such change cannot be done in a minor release like Python 2.7.6. So I'm closing this issue as wont fix => you have to move to Python 3.3.
Sounds sensible. Are you aware of a workaround for this issue? I.e. is there any way to force Python2.7 to use the wide mode for outputting characters? |
|
Date |
User |
Action |
Args |
2013-06-03 06:03:34 | helmut | set | recipients:
+ helmut, vstinner, r.david.murray |
2013-06-03 06:03:34 | helmut | set | messageid: <1370239414.08.0.564548669949.issue18118@psf.upfronthosting.co.za> |
2013-06-03 06:03:34 | helmut | link | issue18118 messages |
2013-06-03 06:03:33 | helmut | create | |
|