On Fri, Jan 13, 2012 at 09:11:42AM +0200, Yuriy Dmitrishin wrote:
> Hello.
>
> Is there any way to display unicode characters as menu elements with menu
> library? I've hardly read docs but still can't find solution.
The ncurses test-programs (ncurses and demo_menus) are supposed to do this.
I recall testing the functionality by modifying the menu data to use some
UTF-8 example. You should be able to see this work by building demo_menus
(with ncursesw/menuw) and giving the name of your menu-file from the command-line,
e.g.,
./demo_menus utf8menus.txt
makes each line in utf8menus.txt become an entry in the "Select" menu.
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAk8QOGUACgkQcCNT4Pfkjtu2YACfcyuUv3pulYznz2SOMrj5w81/
U38AoMmdw4aYEa+Avip51U8RnbZhUmlA
=WX8L
-----END PGP SIGNATURE-----