Putty accessing 11.0 UTF-8 issue

I have a minor issue with UTF-8 and my 11.0p8 amd64 bare metal dedicated when accessing it with Putty
Server is system wide UTF-8 configured using the following in login.conf
Code:
charset=UTF-8:\
:lang=en_US.UTF-8:
locale shows everything OK
Code:
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_ALL=
Also set the env var NCURSES_NO_UTF8_ACS=1 to allow Make ports (dialog4ports) displaying dialog borders as line chars instead letters.

Somehow after 11.0 patchlevel p6 or p5 the above NCURSES_NO_UTF8_AC workaround stopped working and dialog4ports generated borders are displayed as lqkxmqj. Everything else works fine, including utf8 file editing, builtin dialog frames (not dialog4ports) and the rest...
A minor issue admittedly, but still annoying!

I wonder if something changed between p4 and p6 or missed something obvious
BTW, same happened with my local intranet server, also running 11.0 and latest patches

Any idea?
 
Update: Seems that isn't an OS patch related problems.
When clean installed 11.0p8 and configured system wide UTF-8 as above, dialog4ports borders are displayed just fine though after very first "portsnap fetch" action this issue arise.

Any idea?
 
2evg2vo.jpg


I update from 10.2 to 11.0 and all ports.
bsdconfig and bsdinstall, same as "make config".
But csh looks good and mysql.
 
I had a similar issue in ssh connections to FreeBSD 11.0-RELEASE machines via Terminal on a Mac. It turned out, that I need to change the environment variable $TERM to xterm-256color. This can be done bei either adding setenv TERM xterm-256color to the file ~/.cshrc or by the way of respective directives from the connecting Terminal.
 
I didn't even know I wanted this until I saw OP's post! I did these steps and things look correct via PuTTY on FreeBSD 11. (bsdconfig menu, mc, plus UTF-8 symbols in the test file -- to the limits of my PuTTY font)

- set xterm-256color as obsigna said
- made the /etc/login.conf changes listed here
- sudo cap_mkdb /etc/login.conf

My locale output:

Code:
[1631][me@host:~]$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_ALL=
 
Back
Top