On Tue, May 31, 2016 at 10:47:25PM +0200, Stanislav Brabec wrote: > Standard ncurses library does not pass UTF-8 characters properly. > > As widechar-enabled libsmartcols directly uses UTF-8 characters in > table.c, it is unusable in applications using ncurses (e. g. cfdisk). It's possible to force libsmartcols to use pure ascii rather than UTF8. The library checks for UTF8, but of course it has no clue about ncurses, so it's necessary to explicitly call scols_table_enable_ascii(). Fixed. > Fail if widechar support is detected, ncurses is supported but > libncursesw is not found. This seems like overkill, ncurses is necessary only for small subset of our utils. It would be better to disable ncurses at all (if widechar expected but ncursesw not available) -- then only a few utils will be disabled. I'll fix it next week. Note that I have add --disable-widechar to make it easy to test (and I found some bugs). Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html