Skip Menu |

This queue is for tickets about the Curses-UI CPAN distribution.

Report information
The Basics
Id: 94539
Status: new
Priority: 0/
Queue: Curses-UI

People
Owner: Nobody in particular
Requestors: support [...] math.uni-bonn.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Curses::UI Wide character support
Date: Tue, 8 Apr 2014 17:06:08 +0200
To: bug-Curses-UI [...] rt.cpan.org
From: Edgar Fuß <ef [...] math.uni-bonn.de>
The proposed patch looks like working around symptoms of Curses not using the wide-character curses functions and not caring about either Perl's utf8 flag or the current locale. The right way to deal with the problem should be fixing Curses (which I did) and change Curses::UI to use the new wide-character-aware getchar and addstring functions. If you use Curses 1.29 and simply s/getch/getchar/ and s/addstr/addstring/ in Curses-UI, everything woks fine regardlesss of your locale (provided your Curses links to a wide-character curses, e.g. ncursesw). Or so I believe.