Re[2]: mc and utf-8 again but different


Tuesday, November 13, 2007, 12:49:59 AM, you wrote:

> On Mon, 12 Nov 2007 21:12:28 +0100, Pavel Tsekov <ptsekov gmx net> wrote:

>> P.S. Rostislav, does your patch work with both S-Lang and
>> ncurses ?

> I never compiled mc with ncurses. So I tried it and it didn't work in
> utf-8 (in iso-8859-2 did). I made fast switch* from ncurses to ncursesw
> and utf-8 has been repaired. I use in my patch nearly only addstr or addch
> functions, in some cases I left tty_printf (when printing const string
> without width limitation).
> I have found, that addstr from ncursesw shall work in utf-8. I think that
> mc could handle utf-8 width ncursesw, but it needs to be tested more.

Nice work!

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]