This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author helmut
Recipients helmut, r.david.murray, vstinner
Date 2013-06-03.06:03:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1370239414.08.0.564548669949.issue18118@psf.upfronthosting.co.za>
In-reply-to
Content
> 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?
History
Date User Action Args
2013-06-03 06:03:34helmutsetrecipients: + helmut, vstinner, r.david.murray
2013-06-03 06:03:34helmutsetmessageid: <1370239414.08.0.564548669949.issue18118@psf.upfronthosting.co.za>
2013-06-03 06:03:34helmutlinkissue18118 messages
2013-06-03 06:03:33helmutcreate