How to set character encoding for OpenBSD tty session?

On OpenBSD, in order to appropriately see language specific characters in X sessions all I need to do is set LC_CTYPE to one of the values listed using locale -a. I do this by adding export LC_CTYPE=xx_YY.UTF-8 to the .Xsession file.

Is there any way to get similar result for tty sessions?

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论