I have been trying to figure out how to make mc and dvtm look decent after changing my locale to utf8. After weeks of making changes and repairing those changes when they didn't work, not long ago I modified the last part of LIBS which is used in LDFLAGS from -lncursesw to -lncurses in config.mk for dvtm-0.5.2 which worked perfectly in the console, now I only have to do this with mc...
However, from everything I've read -lncursesw should be used for the utf8 locale, not -lncurses. I checked my libraries which are all correct. At least I think they are...
-rw-r--r-- 1 root root 407214 2008-02-21 14:40 libncurses.a
-rw-r--r-- 1 root root 421340 2008-02-21 14:40 libncurses++.a
lrwxrwxrwx 1 root root 20 2009-07-15 12:26 libncurses.so -> /lib/libncurses.so.5
lrwxrwxrwx 1 root root 12 2009-07-16 13:48 libncurses.so.5 -> libcurses.so
-rw-r--r-- 1 root root 421396 2008-02-21 14:42 libncurses++w.a
-rw-r--r-- 1 root root 472800 2008-02-21 14:42 libncursesw.a
lrwxrwxrwx 1 root root 21 2009-07-15 12:26 libncursesw.so -> /lib/libncursesw.so.5
lrwxrwxrwx 1 root root 13 2009-07-16 13:48 libncursesw.so.5 -> libcursesw.so
Anyway, any idea why I had to use -lncurses and not -lncursesw?
<Edit> I don't know if this is important, but I just checked an old variant of dvtm (compiled with -lncursesw) and 0.5.2 (-lncurses) in urxvt and they both worked perfectly.