pin Personally, I have no need for this, hence I've never bothered.
Neither have I, but, even for me to get the lynx browser to display UTF-8 chars correctly, I've had to recompile from source, for various reasons, all three: xterm, ncurses and lynx.
pfr However this did not fix the issue, at least not specific to the ncurses program ncspot.
Change the /usr/local/bin/xt to look like this:
#!/bin/sh
# Minimal UTF-8 environment.
#
export LANG=en_GB.UTF-8 # Change to suit.
export LC_CTYPE="$LANG"
export LC_ALL=""
# Make xterm respect locale settings and force drawing its own box-chars.
#
exec /usr/X11R7/bin/xterm -fa 'DejaVu Sans Mono:style=Book' \
-fd 'Noto Sans Mono CJK JP Regular:style=Regular' \
-fs 11 \
-lc "$@"
Do other ncurses-based programs like mc display the box-chars correctly in the xterm window?
pkgin install mc
Run mc inside xt, then
press F9 to get the menu,
choose Options (clicking with the mouse wil also work)
choose Display bits
See if Input / display codepage is UTF-8 and Full 8 bits input is selected.
If mc displayed correctly throughout all this, and if the lynx tests from before displayed UTF-8 chars. correctly, then your terminal set-up is OK--as far as the system curses is concerned; and then your issues might be rust-specific.