#7 UTF8 chars (Russian) are displayed properly

open
nobody
None
5
2009-03-14
2009-03-14
Anton Sharonov
No

UTF8 chars (Russian) are displayed properly

to display them two things are necessary:

1) link against ncursesw instead of ncurses (i.e., the library
name must have trailing _w_ character)

2) setlocale() call before initscr()

Note, that changes in configure.ac requires one to re-run the
automake (autoconf ? I'm not very familiar with those)

Discussion

  • Raimund Steger
    Raimund Steger
    2011-08-07

    I can confirm this patch fixes the display of Japanese characters in song titles on my FreeBSD box.
    Not too bad :-)