After a default install of OpenBSD 6.2 with FVWM, I open an xterm on the FVWM GUI, with normal user, create a test file:
$ echo 'árvíztűrő tükörfúrógép' > test.txt $ echo 'ÁRVÍZTŰRŐ TÜKÖRFÚRÓGÉP' >> test.txt $ $ cat test.txt árvíztűrő tükörfúrógép ÁRVÍZTŰRŐ TÜKÖRFÚRÓGÉP $ $ locale LANG= LC_COLLATE="C" LC_CTYPE="C" LC_MONETARY="C" LC_NUMERIC="C" LC_TIME="C" LC_MESSAGES="C" LC_ALL= $ $ env | grep -i locale XTERM_LOCALE=C $
and the problem is that if I open the testfile with vi:
and with vim, a little better, but still problems with uppercase and a few lowercase:
Tried to set all the locale variables to "hu_HU.UTF-8" but didn't helped. What am I missing?
Back in the older days, afaik, there was "uxterm" to have UTF-8 support, but now, it looks like it is not in OpenBSD anymore.