wscons(4), or other means of terminal access do not fall under
the X11 configuration. One means to configure the resulting shell of
such access methods is to set suitable environment variables in the
shell configuration. Assuming
ksh(1), a typical way to do this
would be to set
~/.profile and then in the
~/.kshrc file set the necessary
export LC_CTYPE=... value. Other shells (e.g.
vary in how and in what file environment variables are set, check their
manual for details.
Another method would be to create a new (or configure an existing) login
class to set suitable environment variables for the user(s) in question;
doas.conf(5) may also need (a
setenv if the locale settings need to work as another user.