|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.